Syntax error in rule file.

Martin Hepworth martinh at solid-state-logic.com
Tue May 2 18:10:58 IST 2006


Ricardo

And what does /etc/MailScanner/filename.rules.conf contain?

--
Martin Hepworth 
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300

> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
> bounces at lists.mailscanner.info] On Behalf Of Ricardo Aguiar
> Sent: 02 May 2006 18:07
> To: mailscanner at lists.mailscanner.info
> Subject: Syntax error in rule file.
> 
> 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 email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.	

**********************************************************************



More information about the MailScanner mailing list