Spam scores are above 5 (my threshold)!
X-Spam-Status: Yes, score=5.924 tagged_above=-9999 required=5
tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_IMAGE_RATIO_02=0.805,
HTML_MESSAGE=0.001, NO_RECEIVED=-0.001, NO_RELAYS=-0.001,
RCVD_REMOVED=3.75, T_REMOTE_IMAGE=0.01, URIBL_GREY=1.084,
URIBL_RHS_DOB=0.276] autolearn=disabled
RCVD_REMOVED
seems to be the culprit. I believe it's because amavis is stripping that down, and spamassassin doesn't like it:
Received: from mail.xx ([127.0.0.1])
by localhost (mail.xx [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id U6DCLGNBdNtN for <[email protected]>;
Tue, 22 Dec 2015 01:01:11 -0800 (PST)
I could just raise the threshold score to 6, but I'd rather fix this issue instead.
I had the same issue and it started about the same time. Then I found out that in my Postfix installation the server deleted the Received headers before it passed the mail to SpamAssassin. I had this line in
/etc/postfix/header_checks
:I have no idea why I had it there but I deleted it and the problem is gone.
RCVD_REMOVED
is a very unusual code (at least I've never seen it before). If you're getting it on all your mail and you won't or can't correct whatever is causing it, your easiest solution is probably to go into the amavis/spamassassin configuration and manually set a score of 0.0 for theRCVD_REMOVED
tag.To do this, add
to a likely configuration file (try to find a
local.cf
somewhere in/usr/share/spamassassin
or/etc/mail/spamassassin
, hopefully that will survive upgrades).I have the same issue since 22nd of December. I didn't change anything regarding the configuration, so I think that must be a spamassassin signature update, which occur daily in my case.
I followed the answer above and set
score RCVD_REMOVED 0.0
in/etc/spamassassin/local.cf
(Ubuntu 14.04.3 LTS), which worked perfectly, but from my point of view, this does not really solve the root cause, which might be a faulty signature update.I think the main problem might be the following commit in spamassassin's sources made on December 16th 2015 which could be a good guess as this is the time about when the problem started:
https://github.com/apache/spamassassin/commit/aa98a1573458f8df5ebe4338eaa99eeba69d4876#diff-c34e50f996b2140fbdc2454bfbfb6267
In this commit the rule set of spamassassin has been modified introducing the new RCVD_REMOVED flag.
rulesrc/sandbox/jhardin/20_misc_testing.cf