Spam Actions not honored

Mark Sapiro mark at msapiro.net
Tue Nov 13 18:44:04 UTC 2018


I'm running MailScanner 5.1.2-2 with a few additional patches for MSMilter.

It seems my Spam Actions are not being honored.

I have Spam Actions = %rules-dir%/spam_action.rules and the rules file
contains

To:     /[@.]xxx\.(net|org)$/ deliver
To:     /webminion at aaa(bbb)?.org$/ deliver
FromOrTo:       default store forward msapiro+spam at sbh16.songbird.com

yet spam messages which are scored as spam and which do not match either
of the non-default conditions are stored, but delivered and not forwarded.

Here's a typical set of log messages:

Nov 13 02:04:04 sbh16 postfix/smtpd[10986]: 4228B11E0074:
client=mfdf022.ocn.ad.jp[153.128.50.80]
Nov 13 02:04:04 sbh16 postfix/cleanup[11006]: 4228B11E0074:
message-id=<1542103441.MVY5gN7o3IcwdMVY5gA4c8 at ocn-vc-mts-105c1.ocn.ad.jp>
Nov 13 02:04:05 sbh16 postfix/cleanup[11006]: 4228B11E0074:
milter-discard: END-OF-MESSAGE from mfdf022.ocn.ad.jp[153.128.50.80]:
milter triggers DISCARD action; from=<kyng2227 at wish.ocn.ne.jp>
to=<mark at msapiro.net> proto=ESMTP helo=<mfdf022.ocn.ad.jp>
Nov 13 02:04:05 sbh16 postfix/smtpd[10986]: disconnect from
mfdf022.ocn.ad.jp[153.128.50.80] ehlo=1 mail=1 rcpt=1 data=1 quit=1
commands=5
Nov 13 02:04:05 sbh16 MailScanner[23114]: New Batch: Scanning 1
messages, 4284 bytes
Nov 13 02:04:05 sbh16 MailScanner[23114]: Virus and Content Scanning:
Starting
Nov 13 02:04:05 sbh16 MailScanner[23114]: Expired 3 records from the
SpamAssassin cache
Nov 13 02:04:11 sbh16 MailScanner[23114]: Spam Checks: Found 1 spam messages
Nov 13 02:04:11 sbh16 MailScanner[23114]: Requeue: 75D5C1A421.A132B to
1CC9C11826B3
Nov 13 02:04:11 sbh16 postfix/smtpd[10986]: connect from
localhost.localdomain[127.0.0.1]
Nov 13 02:04:11 sbh16 postfix/smtpd[10986]: BD85F11E0074:
client=localhost.localdomain[127.0.0.1]
Nov 13 02:04:11 sbh16 postfix/cleanup[11006]: BD85F11E0074:
message-id=<1542103441.MVY5gN7o3IcwdMVY5gA4c8 at ocn-vc-mts-105c1.ocn.ad.jp>
Nov 13 02:04:11 sbh16 postfix/qmgr[23672]: BD85F11E0074:
from=<kyng2227 at wish.ocn.ne.jp>, size=4986, nrcpt=1 (queue active)
Nov 13 02:04:11 sbh16 postfix/smtpd[10986]: disconnect from
localhost.localdomain[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 commands=4
Nov 13 02:04:11 sbh16 MailScanner[23114]: Uninfected: Delivered 1 messages
Nov 13 02:04:11 sbh16 MailScanner[23114]: Deleted 1 messages from
processing-database
Nov 13 02:04:11 sbh16 postfix/local[11062]: BD85F11E0074:
to=<mark at sbh16.songbird.com>, orig_to=<mark at msapiro.net>, relay=local,
delay=0.05, delays=0.04/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
Nov 13 02:04:11 sbh16 postfix/qmgr[23672]: BD85F11E0074: removed

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the MailScanner mailing list