Spam Actions not honored

Shawn Iverson iversons at rushville.k12.in.us
Tue Nov 13 23:37:05 UTC 2018


Mark,

Haven't had a chance to test this code since I have a meeting tonight, but
feel free to give it a try.  Otherwise, I'll try it out in the morning.

https://github.com/MailScanner/v5/pull/298/files

On Tue, Nov 13, 2018 at 2:15 PM Shawn Iverson <iversons at rushville.k12.in.us>
wrote:

> Mark,
>
> Thanks, I'll take a dive into the code this evening and get it forwarding
> properly.  I think I need to instruct the milter processor to remove and
> re-inject recipients so that the actions have an opportunity to rewrite the
> recipeints.
>
> On Tue, Nov 13, 2018 at 2:08 PM Mark Sapiro <mark at msapiro.net> wrote:
>
>> On 11/13/18 10:44 AM, Mark Sapiro wrote:
>> > 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:11 sbh16 MailScanner[23114]: Spam Checks: Found 1 spam
>> messages
>> > Nov 13 02:04:11 sbh16 MailScanner[23114]: Requeue: 75D5C1A421.A132B to
>> > 1CC9C11826B3
>> ...
>>
>> Further examination of logs from a non-milter configuration indicates
>> that the above sequence is normal, but the requeued message should be
>> delivered to msapiro+spam at sbh16.songbird.com, but in the milter case, it
>> is delivered to the original recipient.
>>
>> --
>> Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
>> San Francisco Bay Area, California    better use your sense - B. Dylan
>>
>>
>>
>> --
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>
>>
>
> --
> Shawn Iverson, CETL
> Director of Technology
> Rush County Schools
> 765-932-3901 option 7
> iversons at rushville.k12.in.us
>
>
>

-- 
Shawn Iverson, CETL
Director of Technology
Rush County Schools
765-932-3901 option 7
iversons at rushville.k12.in.us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20181113/90708520/attachment.html>


More information about the MailScanner mailing list