mjeet
asked on
Excluding SpamAssassin from certain mailboxes
I have installed spamassassin on redhat system-wide and it seems to working ok. But I regularly keep sending mails to members (10K+) and during that time the systems slows down a lot. On running the top command I see that spam assassin is the culprit and it tries to check every outgoing / every bounced mail. So is there any way of configuring spam assassin to not check that particular mailbox ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Of course. You are right. I copied this line from my procmailrc which is used for something else. The character ^ confused me because it is used as negator sometimes in regular expressions.
ASKER
The following rule will check mail for spam only if it is not for "postmaster@mydomain.com":
:0fw
* < 200000
* (^To|^Cc):.*postmaster@myd
| /usr/bin/spamc
fo ex to
* !(^To|^Cc):.*postmaster@my
to NOT check the postmater mail for spam ?
and if I negate it will the mail still be delivered to the postmaster mailbox(without checking for spam that is ) ?
Thank you for reply again.