Syntax error in rule file.

Julian Field MailScanner at ecs.soton.ac.uk
Tue May 2 19:29:10 IST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The only files needing tabs are filename.rules.conf and 
filetype.rules.conf. That's why I called them *.conf and not *.rules. 
But I admit it can be a tad confusing, sorry. It's kinda set in stone 
now :-(

Chris Hammond wrote:
> 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.
>
>
>   

- -- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.6 (Build 6060)

iQA/AwUBRFek9xH2WUcUFbZUEQIoZACgiqhuCqBgwCOXbwh98JTAiAEGCL0An2QK
Yexj1/iulCETHEJBPTAEAw9O
=/bEY
-----END PGP SIGNATURE-----

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



More information about the MailScanner mailing list