Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

SpanAssassin has flagging internal mail between our users as spam, rather than adding our IPs or domains to SpamAssassin's whitelists I thought it would be best to skip SA and ClamAV all together for mail originating from our internal users. I have googled a bit but have found no way to do this but I'm pretty sure it would be possible. We have PostFix + Procmail setup on one server to handle all the mail. I'm guessing procmail would be the service that would check to see if mail is internal and then send it to spam assassin if it's not. Here's my current procmailrc:

| /etc/webmin/virtual-server/ /usr/bin/clamscan
| /usr/bin/spamc
* ^X-Spam-Status: Yes

Let me know of any ideas you have. Thanks.

share|improve this question

Have you looked at the trusted_networks line instead of whitelisting? Take a look at The Spamassassin Wiki entry to trusted_networks for more info.

We're running Ubuntu and have got a trusted_networks 10.0 entry under /etc/spamassassin/

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.