Per-user with default filename rules not working

James Gray james_gray at OCS.COM
Tue Oct 19 02:58:10 IST 2004


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?

Cheers,

James

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



More information about the MailScanner mailing list