I saw that in your example, but it causes a delivery failure, which is not
what I want to happen. I need the message to be accepted and silently
dropped if it meets certain criteria. I do the appropriate notification on
the back end.

I suppose qmail-qfilter can be patched so that qmail-queue is not run on a
specific filter exit code, no?

Josh





Bruce Guenter <[EMAIL PROTECTED]> on 07/20/2000 12:55:28 PM

To:   [EMAIL PROTECTED]
cc:   [EMAIL PROTECTED]
Subject:  Re: How to grab the envelope contents while filtering?


On Thu, Jul 20, 2000 at 12:42:27PM -0400, [EMAIL PROTECTED] wrote:
> I have a filter the looks at file attachments in the message. If certain
> file types are attached, the message delivery is stopped (ie. no output
> from the filter).

If you want to block a message, exit with a permanent error code (ie 31).
--
Bruce Guenter <[EMAIL PROTECTED]>                       http://em.ca/~bruceg/


$RFC822.eml

C.DTF

Reply via email to