filetype.rules and filename.rules syntax

Scott Kopel kopels at english.fsu.edu
Sat Nov 25 22:41:32 GMT 2006


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



More information about the MailScanner mailing list