Syntax error in rule file.

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


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

Very odd. I can't reproduce it.

Can you add to Config.pm
print STDERR "internalvalue = \"$internalvalue\" and settype = 
\"$settype\"\n";
just before line 2225.

Then do a "MailScanner -debug" and let me know what this line prints.

Either that, or mail me off-list with remote login details and root 
password for your system, and I'll take a look after I've eaten my dinner.

Ricardo Aguiar wrote:
> 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          |#|
>  ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ #|
>  |#######################################|
>   ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
>
>   

- -- 
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/AwUBRFenbBH2WUcUFbZUEQJ2TgCfa9se7V7yyq77ES2oWC3xfHOOv0IAmQGT
ilWwsL3DITfKNDI3Un/ZCWKO
=bERL
-----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