amavis-new X-Spam-Status question

Computer Bob bob at inter-control.com
Thu Apr 26 23:30:59 CEST 2018


Greetings,
I have an Ubuntu 16.04 server running Postfix, Dovecot, Clamav, 
Amavis-new, Spamassassin.
Mails are passing spam checks and the headers do not show Razor and 
other settings that are in the spamassassin configs and used by 
spamassassin.
If I run the mail through spamassassin as user amavis, spamd, recipient, 
or the virtual mail folder owner, I get the following all the same:

X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on (Redacted)
X-Spam-Flag: YES
X-Spam-Level: ********************
X-Spam-Status: Yes, score=20.1 required=4.0 tests=KAM_ASCII_DIVIDERS,
MISSING_DATE,MISSING_FROM,MISSING_HEADERS,MISSING_MID,MISSING_SUBJECT,
NO_HEADERS_MESSAGE,NO_RECEIVED,NO_RELAYS,RAZOR2_CF_RANGE_51_100,RAZOR2_CHECK,
         SHARK_TANK_BODY,URIBL_DBL_SPAM,URIBL_RED,URIBL_SBL_A autolearn=spam
         autolearn_force=no version=3.4.1

Content analysis details:   (20.1 points, 4.0 required)

  pts rule name              description
---- ---------------------- 
--------------------------------------------------
  2.5 URIBL_DBL_SPAM         Contains a spam URL listed in the Spamhaus DBL
                             blocklist
                             [URIs: nourishingmomsnaturally.com]
  0.0 URIBL_RED              Contains an URL listed in the URIBL redlist
                             [URIs: nourishingmomsnaturally.com]
  1.2 MISSING_HEADERS        Missing To: header
-0.0 NO_RELAYS              Informational: message was not relayed via SMTP
  7.0 SHARK_TANK_BODY        BODY: No description available.
  2.4 RAZOR2_CF_RANGE_51_100 Razor2 gives confidence level above 50%
                             [cf: 100]
  1.7 RAZOR2_CHECK           Listed in Razor2 (http://razor.sf.net/)
  0.1 URIBL_SBL_A            Contains URL's A record listed in the 
Spamhaus SBL
                             blocklist
                             [URIs: candybars.nourishingmomsnaturally.com]
-0.0 NO_RECEIVED            Informational: message has no Received headers
  0.1 MISSING_MID            Missing Message-Id: header
  1.8 MISSING_SUBJECT        Missing Subject: header
  0.8 KAM_ASCII_DIVIDERS     Spam that uses ascii formatting tricks
  1.0 MISSING_FROM           Missing From: header
  1.4 MISSING_DATE           Missing Date: header
  0.0 NO_HEADERS_MESSAGE     Message appears to be missing most RFC-822 
headers

Yet the mail headers as received are all showing as similar to this:

X-Virus-Scanned: Debian amavisd-new at (Redacted)
X-Spam-Flag: NO
X-Spam-Score: 0.01
X-Spam-Level:
X-Spam-Status: No, score=0.01 required=4 tests=[HTML_MESSAGE=0.001,
         SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01,
         URIBL_RED=0.001] autolearn=unavailable autolearn_force=no

It does not appear that the same checks are being run, for instance no 
Razor.

Could someone explain in detail how spamd or spamassassin is being 
called vi amavis and the associated configs so I can troubleshoot ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20180426/290288fe/attachment.html>


More information about the amavis-users mailing list