Linode Forum
https://forum.linode.com/

Filtering Exes w/ Postfix
https://forum.linode.com/viewtopic.php?f=11&t=1121
Page 1 of 1

Author:  miallen [ Sun Aug 29, 2004 4:19 am ]
Post subject:  Filtering Exes w/ Postfix

I have been running postfix on debian for some time with

body_checks = pcre:/etc/postfix/mime_header_checks

where mime_header_checks has:

/name=[^>]*\.exe/ REJECT Files attached to emai...

The full file is from:

http://www.securitysage.com/files/header_checks

This worked great for a long time but suddenly I'm geting exes all the time. How can this happen? What is the correct way to filter executables efficiently with postfix?

Thanks,
Mike

PS: I tried to send a message to postfix-users but the yahoo groups thing was apparently too much overhead. Everything I sent bounced. Someone pls help.

Author:  pclissold [ Sun Aug 29, 2004 12:21 pm ]
Post subject: 

You seem to have the Postfix filter body_checks pointed to the mime_header_checks file.

The content of your mime_header_checks file looks correct, if it is applied via header_checks or mime_header-checks.

Author:  miallen [ Sun Aug 29, 2004 5:19 pm ]
Post subject: 

pclissold wrote:
You seem to have the Postfix filter body_checks pointed to the mime_header_checks file.


Yeah, I don't know why I used body_checks but this used to work. I tested it. Since then I have updated the debian install. Maybe it's no longer valid....

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/