how to print spamassassin test on amavisd-new log

ahmad riza h nst rizahnst at gmail.com
Wed Sep 21 09:13:26 CEST 2011


hi all,

i am new to amavis and postfix, but have some experiences on qmail and
qpsmtpd/spamassassin/clamav.

i remember when i installed (from port) amavisd-new 2.6.x + postfix
2.7.x + spamassassin 3.2.5 on freebsd7.4 (log_level = 2 on
amavisd.conf), /v/l/maillog can print spamassassin score and test like
(this eg. from qpsmtpd log)

Wed Sep 21 13:10:17 2011 xxxxxxxxxxxxxxx: check_spam: No, hits=1.9,
required=8.0, tests=DOS_OUTLOOK_TO_MX_IMAGE,HTML_MESSAGE,RDNS_NONE,SHORT_HELO_AND_INLINE_IMAGE,SPF_SOFTFAIL

then i did portsnap update which upgrade amavisd-new to 2.7.x and
installed it on another host, /v/l/maillog didn't print spamassassin
test (even when log_level =5 on amavisd.conf);

Sep 21 12:08:18 smtp4 amavis[72715]: (72715-02) Passed CLEAN
{RelayedOpenRelay}, [xxxxxxxxx]:45256 [xxxxxxxxx] <welcome at pkpu.or.id>
-> <ahmadgm at thetempogroup.com>, Message-ID:
<3925e951dec9c5b0dfaa75b1f20835d3 at localhost>, mail_id: cAjPk0SWhMxb,
Hits: -0.503, size: 175474, queued_as: 28FBA286F5, 6791 ms

but in there are spamassassin test and score printed on email header;

X-Old-Spam-Status: No, score=2.8 tagged_above=-999 required=8
    	tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001,
    	MISSING_MID=0.14, NML_ADSP_CUSTOM_MED=1.2, TO_NO_BRKTS_DIRECT=1.448,
    	T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=disabled
X-Old-Spam-Level: **

Q: what i missed?
please help,

thanks
-- 
http://blog.rizahnst.org


More information about the amavis-users mailing list