Ruleset problem/question

Soeren Gerlach so-mlist-alias at all-about-shift.com
Sun Mar 30 17:55:52 IST 2003


Am Sonntag, 30. März 2003 18:35 schrieben Sie:
> 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_rep
> > > >ort. 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.

Sorry, I have to insist that it's a Unix file <gg>. It's created using Perl 
with "\n" linefeed (nothing else) and Linux (and I've checked the file from 
the mailing list too ,-)). Anyhow: I've a couple of other rule files which 
are created the same way and which work quite well, only the rule files 
with the file references don't work, so I think, it *might* be something 
regarding this file reference.


Thanks & regards,
Soeren Gerlach




More information about the MailScanner mailing list