Okay, we disabled @lookup_sql_dsn and at least the 'top 10 sender list' is back there :-), the recipient list still misses.
The following changes were made in the amavis config:
#Amavis 2.8.0 ?
$sql_select_policy = 'SELECT "Y" as local, 1 as id FROM domain WHERE CONCAT("@",domain) IN (%k)';# For Amavisd-new-2.7.0 and later versions. Placeholder '%d' is available in Amavisd-2.7.0+.
#$sql_select_policy = "SELECT domain FROM domain WHERE domain='%d'";
As soon as we enable the option for 2.7.0+ Amavis crashes. Is the problem related to the new 2.8.0 settings?