We'd like to change the four amavisd variables:

$virus_admin
$mailfrom_notify_admin
$mailfrom_notify_recip
$mailfrom_notify_spamadmin

in a way that makes the changes permanent between restarts of amavis as well as (if possible) when performing upgrades.

Right now, these variables generate 'admin@hostname.domain.tld' as the email address.

When we install zimbra, we change the default domain from hostname.domain.tld to domain.tld. As a result, the amavisd email addresses don't exist and the emails the system generates to those accounts get bounced.

We know we need to edit amavisd.conf.in to make changes to amavisd.conf stick between restarts, but amavisd.conf.in has variables for these items, and I don't see where we should change the default values of these variables.

Thanks!
Mark