On Thu, 2009-10-22 at 01:42 -0700, Karolis wrote: > Hi, > > I have two mail servers one with domain aaa.com, second bbb.com. Both have > spamassassin installed. Most distribution lists on aaa.com routes emails to > bbb.com. So email gets checked twice. > > Adding "whitelist_to aaa.com" in bbb spamassassin configuration is not a > solution because it overwrites result by first spamassassin check. > > How can I skip spam checking on bbb.com if email originated from aaa.com ?
The general method is to listen on a separate port on bbb.com, and only allow mail from aaa.com to send to that port. Then, simply configure your MDA to deliver without a milter for traffic that originated on that port. Implementation is left as an exercise for the reader. > > Software: > debian 5.0 > spamass-milter 0.3.1-2 > spamassassin 3.2.3-0.volatile1 > sendmail 8.13.8-3 (on bbb.com, can be replaced by postfix if > solution requires it) > postfix 2.5.5-1.1 (on aaa.com) -- Daniel J McDonald, CCIE # 2495, CISSP # 78281, CNX www.austinenergy.com
signature.asc
Description: This is a digitally signed message part