You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Bryan Fullerton <fe...@gmail.com> on 2005/02/22 20:23:16 UTC

X-Spam headers not being added to *some* spam (amavisd-new, SA)

Howdy,

I'm having an issue which may be with SpamAssassin or may be with
amavisd-new -- feel free to point me elsewhere if this isn't a SA
problem.

I'm using:

FreeBSD 5-STABLE from 20050213
Relevent ports:
perl-5.8.6_2
amavisd-new-2.2.1_1,1
p5-Mail-SpamAssassin-3.0.2_1
postfix-2.1.5_1,1

Generally speaking, things are all working well, except that just this
week some messages are identified as spam by amavisd-new but don't
have X-Spam headers when they're finally delivered. I've turned on
headers for mail with a score over -999, so all mail should have it.
All mail does have the X-Virus-Scanned header.

Here's an example from a non-spam message:
=====
maillog:
Feb 22 14:08:32 mailbox amavis[93565]: (93565-01-10) Passed CLEAN,
[205.207.28.76] <sa...@samurai.com> -> <br...@samurai.com>,
Message-ID: <42...@samurai.com>, Hits: -5.899, 1587 ms

x-headers:
X-Virus-Scanned: by amavisd-new at mailbox.samurai.com
X-Spam-Status: No, hits=-5.899 tagged_above=-999 required=5 tests=ALL_TRUSTED,
 BAYES_00
X-Spam-Level: 
=====

Here's an example of a spam message which has proper headers:
=====
maillog:
Feb 22 14:03:25 mailbox amavis[93565]: (93565-01) Passed SPAM,
[64.236.24.28] <fd...@dog.com> -> <br...@samurai.com>,
Message-ID: <00...@sladang.zzn.com>, Hits: 9.983, 1934
ms

x-headers:
X-Virus-Scanned: by amavisd-new at mailbox.samurai.com
X-Spam-Status: Yes, hits=9.983 tagged_above=-999 required=5 tests=BAYES_99,
 RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_DSBL, RCVD_IN_XBL
X-Spam-Level: *********
X-Spam-Flag: YES
=====

And here's an example of a spam message with no headers:
=====
maillog:
Feb 22 13:50:04 mailbox amavis[40756]: (40756-02-8) Passed SPAM,
[68.114.69.46] <Bo...@phreaker.net> ->
<bj...@bryanfullerton.com>, Message-ID:
<JC...@adorer0.cashette.com>, Hits: 27.676, 3858 ms

x-headers:
X-Virus-Scanned: by amavisd-new at mailbox.samurai.com
=====

I did upgrade to perl 5.8.6_2 and SA 3.02_1 (FreeBSD port versions) in
the past couple of days.

Any ideas where I should look to debug this? Any additional details
you'd like me to post?

Thanks,
Bryan

Re: X-Spam headers not being added to *some* spam (amavisd-new, SA)

Posted by Bryan Fullerton <fe...@gmail.com>.
Update: this is resolved after quick response by Mark Martinec to a
post to the amavis-users list.

The issue was that I'd changed my postifx config to do address
mappings after the content filter instead of before, so amavisd-new
was seeing non-local domains and not adding the X-Spam headers to
those messages. Reverting the postfix config has made everything happy
again.

Thanks,
Bryan

On Tue, 22 Feb 2005 14:23:16 -0500, Bryan Fullerton <fe...@gmail.com> wrote:
> Howdy,
> 
> I'm having an issue which may be with SpamAssassin or may be with
> amavisd-new -- feel free to point me elsewhere if this isn't a SA
> problem.
> 
> I'm using:
> 
> FreeBSD 5-STABLE from 20050213
> Relevent ports:
> perl-5.8.6_2
> amavisd-new-2.2.1_1,1
> p5-Mail-SpamAssassin-3.0.2_1
> postfix-2.1.5_1,1
> 
> Generally speaking, things are all working well, except that just this
> week some messages are identified as spam by amavisd-new but don't
> have X-Spam headers when they're finally delivered. I've turned on
> headers for mail with a score over -999, so all mail should have it.
> All mail does have the X-Virus-Scanned header.
> 
> Here's an example from a non-spam message:
> =====
> maillog:
> Feb 22 14:08:32 mailbox amavis[93565]: (93565-01-10) Passed CLEAN,
> [205.207.28.76] <sa...@samurai.com> -> <br...@samurai.com>,
> Message-ID: <42...@samurai.com>, Hits: -5.899, 1587 ms
> 
> x-headers:
> X-Virus-Scanned: by amavisd-new at mailbox.samurai.com
> X-Spam-Status: No, hits=-5.899 tagged_above=-999 required=5 tests=ALL_TRUSTED,
>  BAYES_00
> X-Spam-Level:
> =====
> 
> Here's an example of a spam message which has proper headers:
> =====
> maillog:
> Feb 22 14:03:25 mailbox amavis[93565]: (93565-01) Passed SPAM,
> [64.236.24.28] <fd...@dog.com> -> <br...@samurai.com>,
> Message-ID: <00...@sladang.zzn.com>, Hits: 9.983, 1934
> ms
> 
> x-headers:
> X-Virus-Scanned: by amavisd-new at mailbox.samurai.com
> X-Spam-Status: Yes, hits=9.983 tagged_above=-999 required=5 tests=BAYES_99,
>  RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_DSBL, RCVD_IN_XBL
> X-Spam-Level: *********
> X-Spam-Flag: YES
> =====
> 
> And here's an example of a spam message with no headers:
> =====
> maillog:
> Feb 22 13:50:04 mailbox amavis[40756]: (40756-02-8) Passed SPAM,
> [68.114.69.46] <Bo...@phreaker.net> ->
> <bj...@bryanfullerton.com>, Message-ID:
> <JC...@adorer0.cashette.com>, Hits: 27.676, 3858 ms
> 
> x-headers:
> X-Virus-Scanned: by amavisd-new at mailbox.samurai.com
> =====
> 
> I did upgrade to perl 5.8.6_2 and SA 3.02_1 (FreeBSD port versions) in
> the past couple of days.
> 
> Any ideas where I should look to debug this? Any additional details
> you'd like me to post?
> 
> Thanks,
> Bryan
>