Correct Syntax for allowing files

Julian Field mailscanner at ecs.soton.ac.uk
Mon Mar 17 13:55:00 GMT 2003


At 13:28 17/03/2003, you wrote:
>Hello,
>
>A client of ours sends out a virus definition file update in the form
>of a .bat file.  The filename is Virus Definition Update-Remote Users.bat.
>
>
>In my filename.rules.conf file I put in the following line then restarted
>MailScanner
>
>allow   'Virus Definition Update-Remote Users.bat'      -       -

2 problems. Remove the quotes and make sure there are tabs between the 4
fields in the line, not spaces. I would also advise changing ".bat" to
"\.bat$" as you want a literal "." and not "any character" and the test
should be tied to the end of the filename, or else someone could send you
"........bat.exe" and it would get through.
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list