Using rules for "Remove These Headers"

Dave Jones davejones70 at
Thu Jun 10 19:03:30 IST 2010

I need to remove read receipt headers from email coming in from the
Internet.  There are 4 SMTP proxy firewalls (,,, in front of the MailScanner
servers that show up in the Received: headers.

Received: from ( [])
     by (8.13.8/8.13.8) with ESMTP id o5AHZkoM025256
     for <someone at>; Thu, 10 Jun 2010 12:35:46 -0500

MailScanner.conf (4.78.17)
Remove These Headers = %rules-dir%/remove-these-headers.rules

From:           /172\.16\.[12]1\.1[10]/
Disposition-Notification-To: X-Mozilla-Status: X-Mozilla-Status2:
FromOrTo:       default         X-Mozilla-Status: X-Mozilla-Status2:

I have tried many combinations from the MailScanner Wiki ruleset
examples but the header gets through.

Does the "From:" in rulesets cover the from email address and any
Received: headers too?  The wiki seems to show that but I am not able
to remove the header no matter what I use in the second field.


More information about the MailScanner mailing list