Syntax error in rule file.

Ricardo Aguiar ricardo at memosis.pt
Tue May 2 18:16:58 IST 2006


I am using tabs. But I already tried both.


 

-----Original Message-----
From: Chris Hammond [mailto:chris at tac.esi.net] 
Sent: terça-feira, 2 de Maio de 2006 18:12
To: mailscanner at lists.mailscanner.info; Ricardo Aguiar
Subject: Re: Syntax error in rule file.

If I remember correctly, tabs need to be used and not spaces.  Check that and try it again.

Chris
 
>>> ricardo at memosis.pt 05/02/06 1:07 pm >>>
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          |#|
 ?????????????????????????????????????? #|
 |#######################################|
  ???????????????????????????????????????

--
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!

--  
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the MailScanner mailing list