It&#39;s not an ACL. It doesn&#39;t work that way. It&#39;s &quot;or&quot;, or &quot;any&quot;, not &quot;first hit&quot;.<br><br>Still, IMHO that rule is now somewhat outmoded and I, for one, turn it off.<br><br><div class="gmail_quote">
On Wed, Jun 10, 2009 at 7:11 PM, Andrew Bruce <span dir="ltr">&lt;<a href="mailto:abruce@hope-st.ath.cx">abruce@hope-st.ath.cx</a>&gt;</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;">
Are rules not processed in order?<br>
<br>
Surely an allow line higher in the list would be matched first and the<br>
attachment allowed through, before the deny rule stops them?<br>
<br>
AB<br>
<br>
On Wed, 10 Jun 2009 18:27:51 -0500, Alex Neuman  wrote:<br>
<br>
Because you have the &quot;double file extension&quot; rule set, and files inside<br>
the compress office docx files have dotsomethingdotsomethinelsedotblah in<br>
them.<br>
On Wed, Jun 10, 2009 at 4:15 PM, Andrew Bruce  wrote:<br>
Hi,<br>
<br>
I&#39;m having some trouble with Office 2007 files not being allowed through<br>
MailScanner.<br>
<br>
I&#39;ve got these (applicable) rules in my filename.rules.conf:<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<br>
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>
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>
I&#39;m running MailScanner version 4.61.7 (yes, I will be upgrading this<br>
when<br>
I can afford the server downtime).<br>
<br>
Any idea why this would be?<br>
<br>
Thanks,<br>
<br>
Andrew<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a> [2]<br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a> [3]<br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a> [4]<br>
<br>
Support MailScanner development - buy the book off the website!<br>
<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> [5]<br>
Skype: alexneuman<br>
<br>
<br>
<br>
Links:<br>
------<br>
[1] mailto:<a href="mailto:abruce@hope-st.ath.cx">abruce@hope-st.ath.cx</a><br>
[2] mailto:<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
[3] <a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
[4] <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
[5] mailto:<a href="mailto:alex@rtpty.com">alex@rtpty.com</a><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>