Filetype rules from local
Andrew Colin Kissa
andrew at topdog.za.net
Fri May 25 09:35:22 IST 2012
On 25 May 2012, at 10:14 AM, Nenad Vijatov wrote:
> Is it possible to disable filetype checks from local (127.0.0.1 or localhost) and how?
Yes.
create /etc/MailScanner/filetype.rules.allowall.conf with the following content
allow .* - -
create /etc/MailScanner/rules/filetype.rules with the following content
From: 127.0.0.1 /etc/MailScanner/filetype.rules.allowall.conf
FromOrTo: default /etc/MailScanner/filetype.rules.conf
Edit /etc/MailScanner/MailScanner.conf and set
Filetype Rules = %rules-dir%/filetype.rules
- Andrew
--
www.baruwa.org
More information about the MailScanner
mailing list