Mark wrote:

>> in amavisd.conf-defaults are shown defaults for the following:
>>
>> # $banned_admin     = [EMAIL PROTECTED];  # for compatibility with
>> pre-2.2.1 # $bad_header_admin = [EMAIL PROTECTED];  # for compatibility
>> with pre-2.2.1
>>
>> # @banned_admin_maps    = (\$banned_admin);
>> # @bad_header_admin_maps= (\$bad_header_admin);
>>
>> I don't think this works for $banned_admin and $bad_header_admin.

> You are right, It was messy.
> See 2.4.0-pre7 (today, release notes), I hope it is better now.

>   Mark

I like the way you did it:

$banned_admin = undef;  $bad_header_admin = undef;
@banned_admin_maps     = (\$banned_admin,    \%virus_admin,\$virus_admin);
@bad_header_admin_maps = (\$bad_header_admin,\%virus_admin,\$virus_admin);

I tested a few things and failed to find any issues.

I found it interesting however that it appears %virus_admin requires the
full recipient email address on the Left Hand Side:

read_hash(\%virus_admin, '/var/lib/amavis/virus_admin');

contents of /var/lib/amavis/virus_admin:
[EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED] [EMAIL PROTECTED]

but there is a low probability that anyone would use this
due to the availability of @virus_admin_maps.

Gary V



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to