Emmanuel,

> In the amavisd-new doc, I saw that LDAP recipients are considered local.
> But how can I setup amavisd-new to bypass spam checks for all non-ldap
> recipients.

I forgot whether this was answered or not.

The cleanest way to bypass spam checks for mail coming from inside
is to use a policy bank MYNETS, and turn off spam checks within
this policy bank:

@mynetworks = qw(127.0.0.0/8 [::1] 192.168.0.0/16 ... );

$policy_bank{'MYNETS'} = {
  bypass_spam_checks_maps => [1],
};

See: http://www.ijs.si/software/amavisd/amavisd-new-docs.html#pbanks

  Mark


_______________________________________________
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