Filename & Filetype rules not working

Mail Admin pinemail11 at
Tue Jun 25 13:20:28 IST 2013

Hi All,

We are trying to restrict attachment for per user and made changes as


Allow Filenames =
Deny Filenames =
Filename Rules = %rules-dir%/filename.rules
Allow Filetypes =
Allow File MIME Types =
Deny Filetypes =
Deny File MIME Types =
Filetype Rules = %rules-dir%/filetype.rules


From:   /\* <at> domain\.com/
From:       /etc/MailScanner/filename.rules.allowall.conf
FromOrTo:       default /etc/MailScanner/filename.rules.conf


From:   /\* <at> domain\.com/
From:       /etc/MailScanner/filetype.rules.allowall.conf
FromOrTo:       default /etc/MailScanner/filetype.rules.conf


deny    \.avi$         Test for restriction

deny    AVI             No AVI movies           No AVI movies allowed

Still mails are delivering with .avi attachment!!.

Your help is appreciated!


Pine Mail
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the MailScanner mailing list