Gary wrote:

> $policy_bank{'MYNETS'} = {  # clients in @mynetworks
>   bypass_spam_checks_maps => [[qw( .example.com .example.net )]],
>   final_spam_destiny   => D_BOUNCE,
> };

> This will allow clients included in @mynetworks to bypass spam checks
> for mail sent to the listed domains (only). Any mail found to be spam
> (which can only happen for domains other than the listed ones) should
> get bounced (DSN created by amavisd-new and mailed to sender).

> As an alternate:

> $policy_bank{'MYNETS'} = {  # clients in @mynetworks
>   spam_lovers_maps => [[qw( .example.com .example.net )]],
>   final_spam_destiny   => D_BOUNCE,
> };

> This should generate a DSN for all spam sent from @mynetworks,
> but still deliver a copy of the original message to the listed
> domains. I have not tested, so give it a try.

You may also need to up the spam_dsn_cutoff_level, e.g.:

$policy_bank{'MYNETS'} = {  # clients in @mynetworks
  spam_lovers_maps => [[qw( .example.com .example.net )]],
  final_spam_destiny   => D_BOUNCE,
  spam_dsn_cutoff_level_maps => 9999,
};

Gary V


-------------------------------------------------------------------------
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
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