On Wed, Jul 19, 2000 at 05:35:50PM -0400, [EMAIL PROTECTED] wrote:
> This is fine. I think the qmail-inject might be overkill, but does no harm.
> With the -n, it merely prints the message (with some headers tidied up if
> need be), which is then pumped into qmail-queue. The recipients are coming
> from the envelope (the fd 1 magic that I'm trying to figure out), not from
> the header. Therefore, no extra or double recipients.
Which is exactly how qmail-qfilter is designed to be used.
> Your concern is my reality :(. When an administrator needs to resubmit a
> message that was stopped by the filter, we need to reconstruct the envelope
> as it was at the time that the message was stopped. Now, if I just inject
> the message, it's gonna go out to everybody in the header all over again.
If you need to "stop" a message rather than modifying it or bouncing it,
you will need to explicitly save the envelope. It will not be part of
the RFC822 header.
--
Bruce Guenter <[EMAIL PROTECTED]> http://em.ca/~bruceg/
PGP signature