|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Victor.Duchovni
morganstanley.comDate: Fri May 03 2002 - 09:35:10 CDT
On Fri, 3 May 2002, Stuart Fox wrote:
> > See the archives for body_checks.
> Thats nearly what im after.
> body_checks (if I understand correctly) reject the mail
> if it matches a reject statement. Is there a way to
> strip the offending attachment and continue with the mail
> rather than reject it?
>
Ignore the body_checks advice. What you are looking for is a MIME
content_filter that can drop attachments using content type, file name or
file content (e.g. AV signature) criteria. Postfix does not currently
support internal filtering APIs. Instead it supports forwarding mail to an
SMTP proxy which loops it back into Postfix via a different SMTP
listener which is free to modify the message content in any way
it sees fit. The filter can also be a UNIX command which reads the
message on standard input (actually both use the same underlying
"transport" abstraction via master.cf). The Postfix part of this is
documented in FILTER_README. The rest depends on the filter technology you
choose.
-- Viktor.- To unsubscribe, send mail to majordomo
postfix.org with content (not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]