filetype.rules and filename.rules syntax
Scott Kopel
kopels at english.fsu.edu
Sat Nov 25 23:01:36 GMT 2006
pico is the editor i use
however, when I noticed the errors, I substituted the sample files that
came with my installation of MailScanner and I don't believe those have
been edited at all - still produced the errors, then
I made a test file with pico with only one line as follows:
allow <tab> jpg <tab> - <tab> -
and that file also generated an error
s
>> I've noticed that I'm getting the following errors in my maillogs
>> I'm using the rules exactly as supplied by mailscanner
>> I'm using MailScanner version 4.42.9-1
>> can anyone tell me what's wrong with my setup?
>> thanks a bunch
>> Scott
>>
>> Nov 25 06:16:53 englishmail MailScanner[21763]: Syntax error in first
>> field in line 93 of ruleset /opt/MailScanner/etc/filename.rules
>> Nov 25 06:16:53 englishmail MailScanner[21763]: Syntax error in first
>> field in line 96 of ruleset /opt/MailScanner/etc/filename.rules
>> Nov 25 06:16:53 englishmail MailScanner[21763]: Syntax error in first
>> field in line 8 of ruleset /opt/MailScanner/etc/filetype.rules
>> Nov 25 06:16:53 englishmail MailScanner[21763]: Syntax error in first
>> field in line 9 of ruleset /opt/MailScanner/etc/filetype.rules
>> Nov 25 06:16:53 englishmail MailScanner[21763]: Syntax error in first
>> field in line 10 of ruleset /opt/MailScanner/etc/filetype.rules
>> Nov 25 06:16:53 englishmail MailScanner[21763]: Syntax error in first
>> field in line 11 of ruleset /opt/MailScanner/etc/filetype.rules
>> Nov 25 06:16:53 englishmail MailScanner[21763]: Syntax error in first
>> field in line 12 of ruleset /opt/MailScanner/etc/filetype.rules
>> Nov 25 06:16:53 englishmail MailScanner[21763]: Syntax error in first
>> field in line 13 of ruleset /opt/MailScanner/etc/filetype.rules
>> Nov 25 06:16:53 englishmail MailScanner[21763]: Syntax error in first
>> field in line 14 of ruleset /opt/MailScanner/etc/filetype.rules
>> Nov 25 06:16:53 englishmail MailScanner[21763]: Syntax error in first
>> field in line 15 of ruleset /opt/MailScanner/etc/filetype.rules
>>
>> I'm using the rules files exactly as supplied by MailScanner
>> eg
>> allow text - -
>> allow script - -
>> allow archive - -
>> allow postscript - -
>> deny self-extract No self-extracting archives No
>> self-extracting
>> archives allowed
>> deny ELF No executables No programs allowed
>> deny executable No executables No programs allowed
>> deny MPEG No MPEG movies No MPEG movies allowed
>> deny AVI No AVI movies No AVI movies allowed
>> deny MNG No MNG/PNG movies No MNG movies allowed
>> deny QuickTime No QuickTime movies No QuickTime
>> movies allowed
>> deny ASF No Windows media No Windows media files
>> allowed
>> deny Registry No Windows Registry entries No Windows
>> Registry files allowed
>>
>> Scott Kopel
>> English Department - FSU
>> 850 644 6177
>
> What editor do you use to format the file?
>
>
> Best,
>
> --
> Arthur Sherman
>
> +972-52-4878851
> CPTeam
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
Scott Kopel
English Department - FSU
850 644 6177
More information about the MailScanner
mailing list