|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
postfix_at_aw-consultancy.de
Date: Tue Feb 04 2003 - 08:01:06 CST
Hi there,
I'm using Postfix 2.0.3 with tls-Patch under OpenBSD 3.2.
This system is just a simple forwarder for one Domain but the BSD-Box
should block all .exe-attachments.
So the forwarding works fine - but not the body_checks.
If I do no forwarding the body_checks work.
If I remember - with Postfix 1.11 it was possible to do that - but I want
to use 2.0.3 ...
Maybe someone can help me ...
...
relay_domains = hash:/etc/postfix/transport, $mynetworks
body_checks = pcre:/etc/postfix/body_checks
transport_maps = hash:/etc/postfix/transport
...
/etc/postfix/body_checks:
/Content-Disposition:.*\.exe/ REJECT
/etc/postfix/transport:
domain.tld smtp:172.25.0.3
Thanks in advance
Kim
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]