Problem with filename ruleset for "Remove These Headers"
Mike
michael at NOMENNESCIO.NET
Wed Dec 1 13:22:06 GMT 2004
[ The following text is in the "iso-8859-15" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
>From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
>Behalf Of Julian Field
>
>If it can work out what you mean without any filename matching, it will
>do so. But as the header names are just arbitrary pieces of text, there
>is no way for it to know what you meant.
>
>It's as intelligent as I could make it, but in this case there is no way
>to tell.
It seems a bit strange to be dependent on the ".rules" extension to determine if it's a file/ruleset. Isn't it possible to determine that it's a file when the argument of the option starts with "%rules-dir%", or "/", or whatever? Or maybe just a simple "[ -f <argument> ] && read-from-file" (obviously not in perl, but bash notation ;-)?
>Julian Field
Thanks for the fast response!
Mike.
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list