Bug in SweepOther.pm?

Symon Chalk symon at symcar.com
Mon Nov 10 18:23:44 GMT 2008


On Wed, Nov 5, 2008 at 7:27 PM, Julian Field <MailScanner at ecs.soton.ac.uk>wrote:
>
>
> Your fix is not okay. You will have broken your filename.rules.conf
>> filename rules. Check your rule for the double-extension trapping and see if
>> you have deleted or added a bracket by mistake. Or else the 2 new rules
>> above that which mention days of the week or months of the year. I suspect
>> someone added the 2 new rules there, and didn't get it quite right when they
>> were copying them into your customised filename.rules.conf.
>>
>
> Jules


Here are those rules in the active filename.rules.conf:

# Allow days of the week and months in doc names, e.g. blah.wed.doc
allow   \.(mon|tue|wed|thu|fri|sat|sun)\.[a-z0-9]{3}$   -       -allow
\.(jan|feb|mar|apr|may|jun|june|jul|july|aug|sep|sept|oct|nov|dec)\.[a-z0-9]{3}$
       -       -

# Deny all other double file extensions. This catches any hidden
filenames.deny    \.[a-z][a-z0-9]{2,3}\s*\.[a-z0-9]{3}$   Found possible
filename hiding                          Attempt to hide real filename
extension

The only changes to that file that have been made are to remove the OE
length checking (the site is Mac-only and that rule interferes with
legitimate mail) and to add an allow for .svn files.

Symon.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20081110/99470e6c/attachment.html


More information about the MailScanner mailing list