Correct Syntax for allowing files

Matthew Bowman mbowman at UDCOM.COM
Mon Mar 17 14:10:57 GMT 2003


Thanks that worked like a charm.

Matthew




Julian Field <mailscanner at ECS.SOTON.AC.UK>
Sent by: MailScanner mailing list <MAILSCANNER at JISCMAIL.AC.UK>
03/17/2003 08:55 AM
Please respond to MailScanner mailing list


        To:     MAILSCANNER at JISCMAIL.AC.UK
        cc:
        Subject:        Re: Correct Syntax for allowing files


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