Gary V wrote:
> Your other concern was:
>> 2) I have too many domains so it could be error-prone to manage domain
>> name..
Mark has provided another useful sample in amavisd-conf.sample that
would allow you to use a single file for both local_domains and
bypassing of checks addressed to domains that are not local.
You would comment out @local_domains_maps, and instead use:
read_hash(\%local_domains, '/var/amavis/local_domains');
The /var/amavis/local_domains file would simply contain your domains:
.example.com
.example2.com
Then, the genius part:
@bypass_spam_checks_maps =
( {map {$_ => !$local_domains{$_}} keys %local_domains}, 1);
and if desired:
@bypass_banned_checks_maps = @bypass_header_checks_maps =
@bypass_spam_checks_maps;
As I mentioned before, make sure all your domains are listed in the file,
ones that are not will be bypassed.
Just another possibility.
Gary V
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/