Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Aug 29, 2004 4:19 am 
Offline
Senior Newbie

Joined: Thu Jan 08, 2004 3:53 pm
Posts: 13
Website: http://www.ioplex.com/~miallen/
Location: New York
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.


Top
   
 Post subject:
PostPosted: Sun Aug 29, 2004 12:21 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
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.

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Sun Aug 29, 2004 5:19 pm 
Offline
Senior Newbie

Joined: Thu Jan 08, 2004 3:53 pm
Posts: 13
Website: http://www.ioplex.com/~miallen/
Location: New York
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....


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group