Error disabling Filetype Rules

Julian Field mailscanner at ecs.soton.ac.uk
Tue Jan 13 16:58:48 GMT 2004


Can you try this please.

Edit ConfigDefs.pl (probably in /usr/lib/MailScanner/MailScanner).
Right near the bottom of the file you will find 2 lines saying

FilenameRules
FiletypeRules

Please move them from the "[All,File]" section to the "[All,Other]" section
which is just below it.

That should allow the filenames to be left blank in MailScanner.conf.

At 16:45 13/01/2004, you wrote:

>Oddly enough, when I leave it as it's default,
>"%etc-dir%/filetype.rules.conf", no error.
>
>-----Original Message-----
>From: MailScanner mailing list
>[<mailto:MAILSCANNER at JISCMAIL.AC.UK>mailto:MAILSCANNER at JISCMAIL.AC.UK]On
>Behalf Of Julian Field
>Sent: Tuesday, January 13, 2004 11:21 AM
>To: MAILSCANNER at JISCMAIL.AC.UK
>Subject: Re: Error disabling Filetype Rules
>
>At 15:44 13/01/2004, you wrote:
> >I got the following errors when trying to disable Filetype Rules as
> >described in the config file:
> >
> >Jan 12 13:59:48 lime MailScanner[24268]: Syntax error(s) in configuration
> >file:
> >Jan 12 13:59:48 lime MailScanner[24268]: Unrecognised keyword
> >"filetyperules" at line 577
> >Jan 12 13:59:48 lime MailScanner[24268]: Aborting due to syntax errors in
> >/opt/MailScanner/etc/MailScanner.conf.
> >
> >I set the config parameter Filetype Rules to blank.
> >
> >This was on Solaris 9, MailScanner 4.25-14 installed from the tarball.
>
>What do you get when you put a filename in instead of making it blank?
>--
>Julian Field
>www.MailScanner.info
>MailScanner thanks transtec Computers for their support
>
>PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support

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



More information about the MailScanner mailing list