Link to home
Start Free TrialLog in
Avatar of mjeet
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
Avatar of marko020397
marko020397

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mjeet
mjeet

ASKER

Thank you for your reply .. I read through the man pages but in the following examples wouldn't I have to negate the second check


The following rule will check mail for spam only if it is not for "postmaster@mydomain.com":
:0fw
* < 200000
* (^To|^Cc):.*postmaster@mydomain\.com
| /usr/bin/spamc



fo ex to

* !(^To|^Cc):.*postmaster@mydomain\.com

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