MailScanner rules problem

Mark Sapiro mark at msapiro.net
Fri Mar 16 18:12:20 UTC 2018


On 03/16/2018 10:13 AM, nilton at hgnet.com.br wrote:
> 
> I have seen that MailScanner does not receive or recognize only the
> rules for local domains with the expression "To:" and so it does not
> follow the rule. I've also seen that even for local domains for the
> expression "From:" the rule is followed.


I do not see this issue with MailScanner-5.0.7-2.


> Looking at the header of a message sent from a user to itself, the To:
> field appears empty, different from the From: field:
> Return-Path: <nilton at domain1.com.br>
> Delivered-To: nilton at domain1.com.br
> X-Spam-Status: No
> *X-HGnet-MailScanner-To:
> X-HGnet-MailScanner-From:* nilton at domain1.com.br


Nor do I see a missing To: for a message just like this if I set

Add Envelope To Header = Yes


> The question is: Could the Postfix be creating a header with information
> not recognized by MailScanner? Why the MailScanner does not  recognize
> only the local domains in "To:" rule, but recognize "From:" rule. My
> search is currently focused on this issue.

Look at the message for the headers

X-Original-To:
Delivered-To:

I think the Delivered-To: address will be the one MailScanner checks for
To: in rules.

-- 
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