Ruleset problem/question

Julian Field mailscanner at ecs.soton.ac.uk
Sun Mar 30 17:35:52 IST 2003


At 16:08 30/03/2003, you wrote:
>----------  Weitergeleitete Nachricht  ----------
>
> > >There, some rules are defined for several domains:
> > >
> > >- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> > >To: *@all-about-shift.com
> > >/opt/MailScanner/etc/rules/messages/deleted_bad_filename_message_report.
> > >all-about-shift.com.txt To: *@all-about-shift.de
> > >/opt/MailScanner/etc/reports/de/deleted.filename.message.txt
> > >- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> > >
> > >
> > >The file for the first domain exists and is a customized version of the
> > >general version used as default in MailScanner. But when starting
> > >MailScanner, it reports the following error via Syslog:
> > >
> > >- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> > >Syntax error in line 1 of ruleset file
> > >/opt/MailScanner/etc/rules/deleted_bad_filename_message_report.rules for
> > >keyword deletedfilenamemessage
> > >- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> > >
> > >What am I missing? It looks quite perfect to me (at least....) ,-))
> >
> > My guess would be that your text editor split it over 2 lines. So it is
> > complaining that there is no filename on the first line.
>
>No, this is not the case. It is created via a script but I checked it too
>after your answer with a very wide terminal ,-) Can it be that the filename
>is too long or the overall line lenght is too long? I attached the file to
>this mail so you can check.

It's a DOS text file, not a Unix text file.

>So for performance reasons It would be another issue to put the referenced
>files on a ramdisk. Although I think this will be a small improvement only
>as this files are read only and not written to.

If they are being read often then the operating system will have already
loaded them into buffer ram anyway, so this won't make any difference at all.
--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list