How to pass through MailScanner with specific file extension ?
Julian Field
mailscanner at ecs.soton.ac.uk
Mon Oct 18 14:40:29 IST 2004
<x-flowed>
At 14:24 18/10/2004, you wrote:
>Thanks for your answer. What does this custom rule look like ?
>
>allow \.ast[0-9].xml$
Nearly. You must still put the other 2 bits of the line in, even if they
aren't used in allow rules. So you need
allow \.ast[0-9]\.xml$ - -
Or even just
allow \.ast\d\.xml$ - -
They 4 bits of each line must be tab-separated in this file, as there's no
way for MailScanner to be able to deduce where log text starts and ends.
>allow \.ast?.xml$
No.
The allow/deny rules in filename.rules.conf and filetype.rules.conf are
regular expressions.
In all other "real rules files", ? and * work how you expect them to,
unless you put "/" characters round the expression at which point it is
treated as a regular expression.
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support
Buy the MailScanner book at www.MailScanner.info/store
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).
</x-flowed>
More information about the MailScanner
mailing list