Rules for filenames / file types

Ed Wallig ewallig at aerocontractors.com
Tue Dec 5 17:25:32 GMT 2006


Hi,

Thanks for the reply - I'm not using SA in my config (separate anti-spam
system in place) so SARE and DCC are not options (I don't think).

In the filename.rules.conf file, can the "FromOrTo" directives be used?
This would solve the issue if I could simply put the domains that I want
to allow gifs from in here. I don't have any problem w/ blocking .gifs
from the majority of the world, just need a couple of domains to be able
to send them.

Thanks,

 - Ed 

-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Martin
Hepworth
Sent: Tuesday, December 05, 2006 11:52 AM
To: MailScanner discussion
Subject: Re: Rules for filenames / file types

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.	

**********************************************************************

-- 
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website! 


More information about the MailScanner mailing list