Karsten Bräckelmann wrote:
On Tue, 2009-08-18 at 19:09 -0400, Dave wrote:
Hello,
        I'm a new user of spamassassin. I'm using version 3.2.5 on a CentOS
5.3 machine with postfix 2.3 as the MTA. Spamassassin is being called from
amavisd-new version 2.6.4 to scan all messages.
        I don't want my outgoing emails scanned, i read spamassassin can be
configured by not check if it detects specific headers. Here's what i have
now for headers:

Nope. If SA "detects specific headers", it already *is* scanning the
mail. What you should do instead, is to configure your glue to not pass
the mail on to SA in the first place -- that's either amavis, or even
further down the road of your mail processing chain.


score LOCAL_RCVD -50

        To accomplish what i want would this work:
header LOCAL_RCVD Received =~ /.*\(\S+\.example\.com\s+\[.*\]\)/
describe LOCAL_RCVD Received from mail.example.com

That will lower the score, but not prevent SA from scanning the mail.
This implies a full scan.




What we do is setup a separate mailserver, on a separate machine, that is outbound-mail only. All users must authenticate SMTP to this system
and no other relaying is allowed on it unless auth SMTP.  We don't run
SA on this.  Besides keeping the configuration simple it has the added
effect of dividing the mail load between multiple servers.

Ted


Reply via email to