<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=758371520-05122006><FONT face=Arial
color=#0000ff size=2>Sweet, thanks - I'll give it a try :)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=758371520-05122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=758371520-05122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=758371520-05122006><FONT face=Arial
color=#0000ff size=2> - Ed</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> mailscanner-bounces@lists.mailscanner.info
[mailto:mailscanner-bounces@lists.mailscanner.info] <B>On Behalf Of </B>Pravin
Rane<BR><B>Sent:</B> Tuesday, December 05, 2006 2:08 PM<BR><B>To:</B>
MailScanner discussion<BR><B>Subject:</B> Re: Rules for filenames / file
types<BR></FONT><BR></DIV>
<DIV></DIV><BR>In MailScanner.conf use following <BR><SPAN
style="FONT-WEIGHT: bold">Filename Rules =
%etc-dir%/filename.rules</SPAN><BR><BR><BR><BR>In %etc-dir%/filename.rules use
following <SPAN style="FONT-FAMILY: monospace"><BR></SPAN><SPAN
style="FONT-WEIGHT: bold">FromOrTo: <tab>*@domain1.tld <tab>
%rules-dir%/domain1.tld.filename.rules.conf </SPAN><SPAN
style="FONT-WEIGHT: bold; FONT-FAMILY: monospace"><BR></SPAN><SPAN
style="FONT-WEIGHT: bold">FromOrTo: <tab>*@domain2.tld <tab>
%rules-dir%/domain2.tld.filename.rules.conf </SPAN><SPAN
style="FONT-WEIGHT: bold; FONT-FAMILY: monospace"><BR></SPAN><SPAN
style="FONT-WEIGHT: bold">FromOrTo: <tab> default <tab>
%etc-dir%/filename.rules.conf # Default filename ruleset </SPAN><BR><BR><BR>In
%rules-dir%/domain1.tld.filename.rules.conf use following<BR><SPAN
style="FONT-WEIGHT: bold">deny <tab> \.gif$ <tab>
<tab> Blocked as per policy</SPAN><BR style="FONT-WEIGHT: bold"><SPAN
style="FONT-WEIGHT: bold"># and other extensions you want to
deny/allow</SPAN><BR><BR>In %rules-dir%/domain2.tld.filename.rules.conf
use following<BR><SPAN style="FONT-WEIGHT: bold">allow <tab>
\.gif$ <tab> <tab> - <tab> - </SPAN><BR><SPAN
style="FONT-WEIGHT: bold"># and other extensions you want to
deny/allow</SPAN><BR><BR>
<DIV><SPAN class=gmail_quote>On 12/5/06, <B class=gmail_sendername>Ed Wallig</B>
<<A href="mailto:ewallig@aerocontractors.com">
ewallig@aerocontractors.com</A>> wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi,<BR><BR>Thanks
for the reply - I'm not using SA in my config (separate anti-spam <BR>system
in place) so SARE and DCC are not options (I don't think).<BR><BR>In the
filename.rules.conf file, can the "FromOrTo" directives be used?<BR>This would
solve the issue if I could simply put the domains that I want <BR>to allow
gifs from in here. I don't have any problem w/ blocking .gifs<BR>from the
majority of the world, just need a couple of domains to be able<BR>to send
them.<BR><BR>Thanks,<BR><BR>- Ed<BR><BR>-----Original Message----- <BR>From:
<A
href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</A><BR>[mailto:<A
href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info
</A>] On Behalf Of Martin<BR>Hepworth<BR>Sent: Tuesday, December 05, 2006
11:52 AM<BR>To: MailScanner discussion<BR>Subject: Re: Rules for filenames /
file types<BR><BR>Ed Wallig wrote:<BR>> Hi,<BR>><BR>> I am currently
blocking .gif files using a deny statement in my <BR>> filename.rules.conf
file to keep the image spam out. This is working<BR>> great but it is also
blocking things that my users don't want blocked.<BR>> Is there a way to
write a rule that allows gif files from certain <BR>> email domains (and/or
addresses) to pass without getting stripped? It<BR>> needs to also allow
outgoing email from my domain to pass w/o getting<BR>> gif files stripped
out (girls in the admin office complaining about <BR>> their signatures and
stationary).<BR>><BR>><BR>> Thanks,<BR>><BR>> -
Ed<BR>><BR>><BR>> //<BR>><BR>><BR>><BR>><BR>I'd look at
the SARE rules, URI-RBL's DCC etc for doing this. Works <BR>great for me,
without touching all the heavy FuzzyOCR code at all.<BR><BR><BR>--<BR>Martin
Hepworth<BR>Senior Systems Administrator<BR>Solid State Logic<BR>Tel: +44
(0)1865
842300<BR><BR>**********************************************************************
<BR><BR>This email and any files transmitted with it are confidential
and<BR>intended solely for the use of the individual or entity to whom
they<BR>are addressed. If you have received this email in error please
notify<BR>the system manager.<BR><BR>This footnote confirms that this email
message has been swept<BR>for the presence of computer viruses and is believed
to be
clean.<BR><BR>**********************************************************************
<BR><BR>--<BR>MailScanner mailing list<BR><A
href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</A><BR><A
href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner
</A><BR><BR>Before posting, read <A
href="http://wiki.mailscanner.info/posting">http://wiki.mailscanner.info/posting</A><BR><BR>Support
MailScanner development - buy the book off the website!<BR>--<BR>MailScanner
mailing list <BR><A
href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</A><BR><A
href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner
</A><BR><BR>Before posting, read <A
href="http://wiki.mailscanner.info/posting">http://wiki.mailscanner.info/posting</A><BR><BR>Support
MailScanner development - buy the book off the
website!<BR></BLOCKQUOTE></DIV><BR><BR clear=all><BR>--
<BR>Regards<BR><BR>Pravin </BODY></HTML>