Tutorials

Postfix :: Blocking extension file

:: How to blocking extension file in Postfix
+ add mime_header_checks

vi /etc/postfix/main.cf
# add line like this:
mime_header_checks = regexp:/etc/postfix/mime_blocking

+ add file extension

vi /etc/postfix/mime_blocking
# add line like this:
/name=[^>]*.(bat|exe)/ REJECT

 
:: Links
+ Google
+ Cyberciti

Hi, I’m Sysadmin.ID

Leave a Reply

Your email address will not be published. Required fields are marked *