Problem with filename ruleset for "Remove These Headers"

Julian Field mailscanner at ecs.soton.ac.uk
Wed Dec 1 13:51:49 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. ]

Mike wrote:

>>From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
>>Behalf Of Julian Field
>>
>>And for options which can take a filename? Or for options that take a
>>string which could start with "/" or could happen to be the name of a
>>file on your system? (e.g. Silent Viruses). There are lots of reasons
>>why this doesn't work in practice.
>>
>>
>
>All options with "# This can also be the filename of a ruleset." can be put in a special class (array?). Only for options which are an element/part of that class/array will the argument be tested to see if it's a file (test -f $argument) and if so, use the settings in that file.
>
>
I guess I could. It's never been an issue in the past. Also, how do I
tell the difference when the option takes a filename as its argument?
Then the file has to exist anyway, but it's not a ruleset.

--
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

------------------------ 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