Rules for filenames / file types

Martin Hepworth martinh at
Tue Dec 5 16:51:39 GMT 2006

Ed Wallig wrote:
> Hi,
> I am currently blocking .gif files using a deny statement in my 
> filename.rules.conf file to keep the image spam out. This is working 
> great but it is also blocking things that my users don't want blocked. 
> Is there a way to write a rule that allows gif files from certain email 
> domains (and/or addresses) to pass without getting stripped? It needs to 
> also allow outgoing email from my domain to pass w/o getting gif files 
> stripped out (girls in the admin office complaining about their 
> signatures and stationary).
> Thanks,
>  - Ed
> //
I'd look at the SARE rules, URI-RBL's DCC etc for doing this. Works 
great for me, without touching all the heavy FuzzyOCR code at all.

Martin Hepworth
Senior Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300


This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.	


More information about the MailScanner mailing list