(some of this is going to look mangled but I had to do it because the 
list's MTA is denying my mail because of body checks, i put spaces in 
between all extentions mentioned in here)
We just upgraded to the latest release of Postfix. The config file was a 
bit different from the old snapshot we were using but I thought I did a 
good enough job configuring it exactly the same as the old box. We have a 
regexp in our body_checks that blocks files with certain extentions, and 
now it's only working some of the time. We're getting slammed with p if 
files and today we've only blocked 27 of them .. and yes, I did postfix 
reload after making the changes ;)

In main.cf:
header_checks = regexp:/etc/postfix/header_checks.regexp
body_checks = regexp:/etc/postfix/body_checks.regexp

In body_checks.regexp:
/^(content.*[[:space:]]+|[[:space:]]*)(filename|name)=".*\.(e xe| co m|s 
cr|p if|b t|s hs|s hb|vx d|c hm|v bs|v b|vb e| ini|cm d|h ta|re g|l nk|j 
s|j se)"/ REJECT

In maillog:
postfix/cleanup[59305]: AD5C319089F: reject: body ?name="mp3music. p if" 
from unknown[63.109.127.125]; from=<> to=<[EMAIL PROTECTED]> proto=ESMTP 
helo=<123domain.com>: Message content rejected

Other than an explicit grant regexp for the extentions, is there something 
that would be allowing it through before the filters came into play? Thanks 
in advance.

Billy Kimble, System Administrator
ebase, LLC 


-- Attached file included as plaintext by Ecartis --


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.573 / Virus Database: 363 - Release Date: 1/28/2004



Reply via email to