Leon,

> I want to add several mailinglists to spam_lovers_maps directives,
> so mails sent to these lists go directly to the list without spam checks:
>
> Couls I just do it like this (i.e. every address on a new line)?
>
> @spam_lovers_maps = @bypass_spam_checks_maps = ( [ qw(
> [EMAIL PROTECTED]
> adjunc@ mydomain.ac.il
> bab@ mydomain.ac.il
> bella@ mydomain.ac.il
> ) ], );
>...

Yes, correct, except there should be no space after '@' in addresses.

If you have many such addresses, using hash-based lookup is faster.
A hash lookup table can be loaded from a plain text file (one address
per line):

@spam_lovers_maps = @bypass_spam_checks_maps = (
 read_hash("/etc/amavisd/spam-lovers.txt"),
);

or constructed with an expression.

  Mark

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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/

Reply via email to