<div dir="ltr">Hi All,<div><br></div><div style>We are trying to restrict attachment for per user and made changes as follows</div><div style><br></div><div style><b>mailscanner.conf</b></div><div style><br></div><div style>
<div>Allow Filenames =</div><div>Deny Filenames =<br></div><div><div>Filename Rules = %rules-dir%/filename.rules</div></div><div><div>Allow Filetypes =</div></div><div><div>Allow File MIME Types =</div><div><div>Deny Filetypes =</div>
</div></div><div><div>Deny File MIME Types =</div></div><div><div>Filetype Rules = %rules-dir%/filetype.rules</div></div><div><br></div><div><br></div><div style><b>Filename.rules</b></div><div style><br></div><div style>
<div>From: /\* <at> domain\.com/ /etc/MailScanner/attachmentrestriction.rules.conf</div><div>From: 127.0.0.1 /etc/MailScanner/filename.rules.allowall.conf</div><div>FromOrTo: default /etc/MailScanner/filename.rules.conf</div>
<div><br></div><div><div style><b>filetype.rules</b></div><div style><br></div><div>From: /\* <at> domain\.com/ /etc/MailScanner/attachmentfiletype.rules.conf</div><div>From: 127.0.0.1 /etc/MailScanner/filetype.rules.allowall.conf</div>
<div>FromOrTo: default /etc/MailScanner/filetype.rules.conf</div></div><div><br></div><div><br></div><div><div><b>attachmentrestriction.rules.conf</b><br></div><div><br></div><div>deny \.avi$ Test for restriction<br>
</div></div><div><br></div><div><b>attachmentfiletype.rules.conf</b><br></div><div><b><br></b></div><div><div>deny AVI No AVI movies No AVI movies allowed</div></div><div style><br></div><div style>
Still mails are delivering with .avi attachment!!.</div><div style><br></div><div style>Your help is appreciated!</div><div style><br></div><div style>Regards,</div><div style><br></div><div style>Pine Mail</div><div style>
<br></div><div style><br></div><div><br></div><div><br></div></div></div></div>