HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   NO block the attachments (http://www.howtoforge.com/forums/showthread.php?t=39743)

lunardi 29th September 2009 18:18

NO block the attachments
 
Hy All,

I set for "Block the attachments with a postfix header filter":
In ISPConfig, click on “Email in the upper menu, then on “Content filter” in the left menu and click on the “Add new content filter” button. Enter the following details:

Filter:

MIME-Header Filter

Regexp. Pattern:

/^Content-(Disposition|Type).*name\s*=\s*”?(.*\.(bat|exe|scr ))(\?=)?”?\s*(;|$)/x

Data:

File extension is blacklisted on this server

Action:

DISCARD

But no worked.
Any idea?
Thanks

till 30th September 2009 10:32

Please post the content of the file:

/etc/postfix/mime_header_checks

lunardi 30th September 2009 16:47

NO block the attachments
 
Hy Till,

I followed the explanation in: http://www.faqforge.com/category/lin...ls/ispconfig3/ only that.

The file /etc/postfix/mime_header_checks is empty.

Thanks again.

till 1st October 2009 11:52

Please check in the monitor module > job queue if the job has been processed.


All times are GMT +2. The time now is 23:22.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.