Because you have the "double file extension" rule set, and files inside the compress office docx files have dotsomethingdotsomethinelsedotblah in them.<br><br><div class="gmail_quote">On Wed, Jun 10, 2009 at 4:15 PM, Andrew Bruce <span dir="ltr"><<a href="mailto:abruce@hope-st.ath.cx">abruce@hope-st.ath.cx</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
I'm having some trouble with Office 2007 files not being allowed through<br>
MailScanner.<br>
<br>
I've got these (applicable) rules in my filename.rules.conf:<br>
<br>
<br>
<br>
# docx<br>
allow \.docx$ - -<br>
allow \.xml[0-9]\.rel$ - -<br>
<br>
# Allow repeated file extension, e.g. blah.zip.zip<br>
allow (\.[a-z0-9]{3})\1$ - -<br>
<br>
# Deny all other double file extensions. This catches any hidden filenames.<br>
deny \.[a-z][a-z0-9]{2,3}\s*\.[a-z0-9]{3}$ Found possible filename hiding<br>
Attempt to hide real filename extension<br>
<br>
<br>
<br>
Yet am still seeing results like this:<br>
Report: MailScanner: Attempt to hide real filename extension<br>
(document.xml.rel)<br>
MailScanner: Attempt to hide real filename extension (settings.xml.rel)<br>
Report: MailScanner: Attempt to hide real filename extension<br>
(document.xml1.rel)<br>
MailScanner: Attempt to hide real filename extension (settings.xml1.rel)<br>
Report: MailScanner: Attempt to hide real filename extension<br>
(document.xml1.rel)<br>
Report: MailScanner: Attempt to hide real filename extension<br>
(document.xml.rel)<br>
Report: MailScanner: Attempt to hide real filename extension<br>
(settings.xml.rel)<br>
Report: MailScanner: Attempt to hide real filename extension<br>
(settings.xml1.rel)<br>
<br>
<br>
I'm running MailScanner version 4.61.7 (yes, I will be upgrading this when<br>
I can afford the server downtime).<br>
<br>
Any idea why this would be?<br>
<br>
<br>
Thanks,<br>
<br>
Andrew<br>
<font color="#888888">--<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" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Alex Neuman van der Hans<br>Reliant Technologies<br>+507 6781-9505<br>+507 202-1525<br><a href="mailto:alex@rtpty.com">alex@rtpty.com</a><br>Skype: alexneuman<br>