<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font size="-1">Greetings, <br>
I have an Ubuntu 16.04 server running Postfix, Dovecot, Clamav,
Amavis-new, Spamassassin.<br>
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.<br>
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:<br>
<br>
<font size="-2">X-Spam-Checker-Version: SpamAssassin 3.4.1
(2015-04-28) on (</font></font><font size="-1"><font size="-2"><font
size="-1">Redacted</font>)<br>
X-Spam-Flag: YES<br>
X-Spam-Level: ********************<br>
X-Spam-Status: Yes, score=20.1 required=4.0
tests=KAM_ASCII_DIVIDERS,<br>
MISSING_DATE,MISSING_FROM,MISSING_HEADERS,MISSING_MID,MISSING_SUBJECT,<br>
NO_HEADERS_MESSAGE,NO_RECEIVED,NO_RELAYS,RAZOR2_CF_RANGE_51_100,RAZOR2_CHECK,<br>
SHARK_TANK_BODY,URIBL_DBL_SPAM,URIBL_RED,URIBL_SBL_A
autolearn=spam<br>
autolearn_force=no version=3.4.1<br>
<br>
Content analysis details: (20.1 points, 4.0 required)<br>
<br>
pts rule name description<br>
---- ----------------------
--------------------------------------------------<br>
2.5 URIBL_DBL_SPAM Contains a spam URL listed in the
Spamhaus DBL<br>
blocklist<br>
[URIs: nourishingmomsnaturally.com]<br>
0.0 URIBL_RED Contains an URL listed in the URIBL
redlist<br>
[URIs: nourishingmomsnaturally.com]<br>
1.2 MISSING_HEADERS Missing To: header<br>
-0.0 NO_RELAYS Informational: message was not
relayed via SMTP<br>
7.0 SHARK_TANK_BODY BODY: No description available.<br>
2.4 RAZOR2_CF_RANGE_51_100 Razor2 gives confidence level above
50%<br>
[cf: 100]<br>
1.7 RAZOR2_CHECK Listed in Razor2
(<a class="moz-txt-link-freetext" href="http://razor.sf.net/">http://razor.sf.net/</a>)<br>
0.1 URIBL_SBL_A Contains URL's A record listed in
the Spamhaus SBL<br>
blocklist<br>
[URIs:
candybars.nourishingmomsnaturally.com]<br>
-0.0 NO_RECEIVED Informational: message has no
Received headers<br>
0.1 MISSING_MID Missing Message-Id: header<br>
1.8 MISSING_SUBJECT Missing Subject: header<br>
0.8 KAM_ASCII_DIVIDERS Spam that uses ascii formatting
tricks<br>
1.0 MISSING_FROM Missing From: header<br>
1.4 MISSING_DATE Missing Date: header<br>
0.0 NO_HEADERS_MESSAGE Message appears to be missing most
RFC-822 headers<br>
<br>
</font></font>Yet the mail headers as received are all showing as
similar to this:<br>
<br>
<font size="-1">X-Virus-Scanned: Debian amavisd-new at (Redacted)<br>
X-Spam-Flag: NO<br>
X-Spam-Score: 0.01<br>
X-Spam-Level:<br>
X-Spam-Status: No, score=0.01 required=4
tests=[HTML_MESSAGE=0.001,<br>
SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
T_REMOTE_IMAGE=0.01,<br>
URIBL_RED=0.001] autolearn=unavailable autolearn_force=no<br>
</font><br>
It does not appear that the same checks are being run, for instance
no Razor.<br>
<br>
Could someone explain in detail how spamd or spamassassin is being
called vi amavis and the associated configs so I can troubleshoot ?<br>
<br>
</body>
</html>