First Match vs All Match
Kevin_Miller at ci.juneau.ak.us
Fri Oct 4 22:03:50 IST 2013
Without seeing your actual rule file (in the MailScanner/rules directory) it's hard to say what you're doing, but I'd do this:
Allow Webbugs = %rules-dir%/webbugs.rules
In MailScanner/rules directory:
FromOrTo: user at domain.com yes
FromOrTo: *@differentdomain.com yes
FromOrTo: default disarm
This will let user at domain.com<mailto:user at domain.com> and all users at differentdomain.com send webbugs and disarm all others. You can also just use From: and/or To: as the first field as appropriate to your environment.
See the EXAMPLES (in the rules directory) file for more details...
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4500
Registered Linux User No: 307357
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Jerry Benton
Sent: Friday, October 04, 2013 12:29 PM
To: MailScanner discussion
Subject: First Match vs All Match
So, I found out the hard way after much face-to-keyboard action that "Allow Webbugs" is an "All Match" rule. So if I have this:
user at domain yes
If user at domain sends a web bug in an email it will be allowed. Unless of course he sends it to acme.com<http://acme.com> where it will be denied. Well, this presents a problem if you have a valid sender you wish to allow to send web bugs to your domain while blocking all others.
So, does anyone know if All Match and First Match is a configurable item for rule sets? I know it is not in the MailScanner.conf, but perhaps a pm file could be modified?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MailScanner