Syntax error in rule file.

Ricardo Aguiar ricardo at memosis.pt
Tue May 2 18:07:15 IST 2006


Hi,

I just upgraded from version '4.51.6' to '4.53.6' and I'm using a rule file to control filenames per domain.

After running "MailScanner -lint" with the new version installed I get:

Syntax error in line 1 of ruleset file /etc/MailScanner/filename.rules.rules at /usr/lib/MailScanner/MailScanner/Config.pm line 2265
Syntax error in line 2 of ruleset file /etc/MailScanner/filename.rules.rules at /usr/lib/MailScanner/MailScanner/Config.pm line 2265
Found syntax errors in /etc/MailScanner/filename.rules.rules. at /usr/lib/MailScanner/MailScanner/Config.pm line 2120
Read 717 hostnames from the phishing whitelist
Checking for SpamAssassin errors (if you use it)...
Using SpamAssassin results cache
Connected to SpamAssassin cache database
SpamAssassin reported no errors.


### filename.rules.rules ###
FromOrTo:       domain.com      /etc/MailScanner/filename.no.rules.conf
FromOrTo:       default         /etc/MailScanner/filename.rules.conf


This file is unchanged and work perfectly with version '4.51.6'.

Thanks in advanced for any help.

 ______________________________________
| Ricardo d'Aguiar                     |
|                                      |-
| EMail .: ricardo at memosis.pt          |#|
 ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ #|
 |#######################################|
  ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯



More information about the MailScanner mailing list