5 msgpostfix/ldap - can one special_result_attribute...
2 msgmailing list goes to bulk / spam folder
9 msgSMTP Auth on multiple instances
4 msgAuto-response, but not vacation
4 msgbypassing reject_rbl_client for certain recipie...
12 msgrewritten log
11 msgPer user SPF and Anti Virus checks
9 msgInstance on policies
2 msgRemoving internal mailers from headers
7 msgOpen Relay issue
1 msgMessages not picked up from active queue
3 msgSemantics question about myorigin

mime, header_checks question
\ Jason Bailey, Sun Advocate Webma (31 Mar 2008)
. \ Magnus Bäck (31 Mar 2008)
. . \ (Wietse Venema) (31 Mar 2008)
. . \ Noel Jones (31 Mar 2008)
. . \ Jason Bailey, Sun Advocate Webma (31 Mar 2008)
. . . \ Noel Jones (31 Mar 2008)
. . . . \ Victor Duchovni (31 Mar 2008)
. . . . . \ Jason Bailey, Sun Advocate Webma (31 Mar 2008)
. . . . . . \ Victor Duchovni (31 Mar 2008)
. . . . . . . \ Jason Bailey, Sun Advocate Webma (31 Mar 2008)
. . . . . . \ Boyd Lynn Gerber (31 Mar 2008)
. . . . . . . \ Jason Bailey, Sun Advocate Webma (2 Apr 2008)
. . . . . . . . \ Victor Duchovni (2 Apr 2008)
. . . . . . . . . \ Jason Bailey, Sun Advocate Webma (2 Apr 2008)
. . . . . . . . . . \ Victor Duchovni (2 Apr 2008)
. . . . . . . . . . . \ Jason Bailey, Sun Advocate Webma (2 Apr 2008)
. . . . . . . . . . . . \ Victor Duchovni (2 Apr 2008)
. . . . . . . . . . . . . \ Jason Bailey, Sun Advocate Webma (2 Apr 2008)
. . . . . . . . . . . . . . \ Victor Duchovni (2 Apr 2008)
. . . . . . . . . . . . . \ Jason Bailey, Sun Advocate Webma (2 Apr 2008)
. . . . . . \ Bill Cole (3 Apr 2008)
. . . . . \ Jason Bailey, Sun Advocate Webma (31 Mar 2008)

3 msgproblem using greylist and gmail
9 msg451 4.3.0 Error: queue file write error and vir...
5 msgNetwork_biopair_interop errors
1 msgwhat means error msg in auth.log (failed to map...
5 msgproblem upgrading from 2.4.5 to 2.5.1
5 msgfailover
13 msgsmtp_fallback_relay
Subject:mime, header_checks question
Group:Postfix-users
From:Jason Bailey, Sun Advocate Webmaster
Date:31 Mar 2008


 
I have a user who has a hisdomain.com.png attachment that he sends out
as part of his email signature. Now, my Postfix installation refuses it
because my mime filter sees the .com and blocks it.

My mime filter contains the following:
/name=[^>]*\.(bat|com|exe|dll|vbs|scr|pif|cpl|shs|shb|zip)/ REJECT

I thought that perhaps it might be advantageous to tweak this so that it
only rejected attachments ending in .com, .exe and so forth... not just
files that contain it.

So I modified it like this:
/name=[^>]*\.(bat|com|exe|dll|vbs|scr|pif|cpl|shs|shb|zip)$/ REJECT

It then lets everything through, regardless. Obviously I'm
mis-interpreting the regexp pattern here.

Now, in my main.cf, I have my mime filter defined like this:
mime_header_checks = regexp:/etc/postfix/mime_filter

I can't replace regexp with pcre... Postfix gives errors and won't parse
the file.

So my question is two-fold:

1) If I were to only reject files that ended in .com, for example,
instead of files that contain .com, how would I do this (given my
existing mime filter)

2) Should I even pursue what I'm proposing in #1 above? Maybe there's a
good reason for NOT doing that?


--
Jason Bailey, Web/IT Administrator
Sun Advocate / Emery County Progress
webmaster / webmaster
(435) 637-0732 (ext 31)


© 2004-2008 readlist.com