[linux-elitists] email elitisms
eugen at leitl.org
Fri Sep 18 06:26:36 PDT 2009
On Sat, Sep 19, 2009 at 01:15:51AM +1200, Paul Collins wrote:
> You can probably implement pretty much any policy you desire with the
> aid of header_checks and/or body_checks.
I currently have
v64:/etc/postfix# cat body_checks.regexp
REJECT Keep your executables!
/^Subject:xyzzy/ REJECT demo xyzzy reject
/^Content-Type: *text\/html/ REJECT
which doesn't seem to be working anymore. Which is strange, since
I do have in my /etc/postfix/main.cf
body_checks = regexp:/etc/postfix/body_checks.regexp
mime_header_checks = pcre:/etc/postfix/mime_header_checks.pcre
Below works though
v64:/etc/postfix# cat mime_header_checks.pcre
)\b/x REJECT The content you sent to this destination is no longer accepted here due to spam and malware load.
I guess I should just take it to the postfix-users list. Thanks.
Eugen* Leitl <a href="http://leitl.org">leitl</a> http://leitl.org
ICBM: 48.07100, 11.36820 http://www.ativel.com http://postbiota.org
8B29F6BE: 099D 78BA 2FD3 B014 B08A 7779 75B0 2443 8B29 F6BE
More information about the linux-elitists