Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: SpamAssassin: users

How do I stop spamassassin from checking email twice

 

 

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded


karkap at bpi

Oct 22, 2009, 1:42 AM

Post #1 of 3 (311 views)
Permalink
How do I stop spamassassin from checking email twice

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 ?

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)

--
View this message in context: http://www.nabble.com/How-do-I-stop-spamassassin-from-checking-email-twice-tp26006130p26006130.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Dan.McDonald at austinenergy

Oct 22, 2009, 4:53 AM

Post #2 of 3 (286 views)
Permalink
Re: How do I stop spamassassin from checking email twice [In reply to]

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
Attachments: signature.asc (0.19 KB)


karkap at bpi

Oct 22, 2009, 5:20 AM

Post #3 of 3 (282 views)
Permalink
Re: How do I stop spamassassin from checking email twice [In reply to]

Thanks for a fast feedback. I was considering this method myself. But had a
hope there is a more elegant solution.


McDonald, Dan wrote:
>
> 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
>
>
>

--
View this message in context: http://www.nabble.com/How-do-I-stop-spamassassin-from-checking-email-twice-tp26006130p26008940.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.