How can I exclude exe attachment from single email address

Jeff Falgout JFalgout at CO.JEFFERSON.CO.US
Thu Jul 3 22:10:31 IST 2003

Beautiful * Thank you very  much!!

>>> mailscanner at ECS.SOTON.AC.UK 7/3/2003 3:06:07 PM >>>
At 21:17 03/07/2003, you wrote:
>Just moved MailScanner into production today * WOOHOO!!
>But ...
>I'm blocking .exe's using filename.rules.conf, but we have to deal with
>another company that insists on sending an *IMPORTANT* file as an exe
>Is there a way to allow .exe only from that email address?

Copy filename.rules.conf to filename.special.rules.conf.
Edit filename.special.rules.conf and add a rule to the top of it along the
lines of
allow   \.exe$  -       -
(separate those 4 sections with tab characters, not spaces).

Then construct a ruleset in /etc/MailScanner/rules/filename.rules that
looks like this:
From:   awkward at      /etc/MailScanner/filename.special.rules.conf
FromOrTo:       default         /etc/MailScanner/filename.rules.conf

Edit /etc/MailScanner/MailScanner.conf so it uses it
Filename Rules = /etc/MailScanner/rules/filename.rules

Then reload or restart MailScanner.
Julian Field 
Professional Support Services at 
MailScanner thanks transtec Computers for their support

More information about the MailScanner mailing list