Per-user with default filename rules not working

Julian Field mailscanner at ecs.soton.ac.uk
Tue Oct 19 09:10:13 IST 2004


<x-flowed>
At 02:58 19/10/2004, you wrote:
>Hi All,
>
>We have a dopey program that insists on sending messages with double-extension
>attachments.  These are always something like "123456789.txt.err" which
>invariably get flagged + quarantined.
>
>In MailScanner.conf I've got:
>%rules-dir% = /opt/MailScanner/etc/rules
>...
>Filename Rules = %rules-dir%/filename.user.rules
>
>Then in /opt/MailScanner/etc/rules/filetype.user.rules:
>(all separated by tabs - spaces used here to prevent wrap)
>From:       auto-mailer at here.com    /etc/MailScanner/filename-OMS.rules.conf
>ToOrFrom:   default                 /etc/MailScanner/filename.rules.conf
>
>What happens though, is that all users get the first "filename-OMS.rules.conf"
>rules, which means no double-extension checks.
>
>Any thoughts?

Make sure your filename-OMS.rules.conf file explicitly allows .txt.err files.
--
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