Spamassassin remote checks work when run manually, don't show up in amavis

Bruce Pennypacker bruce.pennypacker at
Wed Feb 18 19:58:39 CET 2015

I have amavisd-new-2.9.1 running on a Centos 6.6 server with
spamassassin-3.3.1 and postfix-2.6.6.  I'm regularly seeing spam come in
that only hits a subset of SA rules when it's processed by amavisd, but
more checks are matched when I run the command locally.  For example, one
spam I received just a few minutes ago had the following header:

X-Spam-Status: Yes, score=6.491 tagged_above=-9999 required=6
tests=[BAYES_99=3, BAYES_999=3.5, T_RP_MATCHES_RCVD=-0.01,
URIBL_BLOCKED=0.001] autolearn=no

Yet when I took the full contents of that spam and piped it to
"spamassassin -t" it generated the following results:

Content analysis details:   (14.6 points, 6.0 required)

 pts rule name              description
---- ----------------------
 1.3 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in
                [Blocked - see <
                             for more information.
 3.0 BAYES_99               BODY: Bayes spam probability is 99 to 100%
                            [score: 1.0000]
 3.3 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                            [ listed in]
-0.0 T_RP_MATCHES_RCVD      Envelope sender domain matches handover relay
 3.5 BAYES_999              BODY: Bayes spam probability is 99.9 to 100%
                            [score: 1.0000]
 1.1 DCC_CHECK              Detected as bulk mail by DCC (
 2.0 PYZOR_CHECK            Listed in Pyzor (
 0.3 DIGEST_MULTIPLE        Message hits more than one network digest check

In the above test I was logged in as the amavis user, which is the same
user that amavisd-new is running as.  It seems that amavisd-new isn't
running any of the remote checks. Why am I getting different results when
the e-mails are processed through amavisd-new, and what can I do to get it
to run them?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the amavis-users mailing list