From: Victor Duchovni (no email)
Date: Wed Dec 01 2004 - 01:04:24 EST
On Wed, Dec 01, 2004 at 04:58:44PM +1100, Craig Sanders wrote:
> > but you can put the message on hold, postcat it, and re-inject it with
> > a new envelope via sendmail(1), then delete the held message.
>
> that wouldn't work.
>
> the message would be tagged by amavisd/spamassassin and would be held
> again.
Only if configure content_filter for local injection via postdrop/pickup,
don't do that.
> how does REDIRECT on the RHS of an access map do it? i assume it just
> changes the recipient address in the queue file, it doesn't reinject the
> message with a new envelope.
REDIRECT happens as the queue file is written initially. Not after
the fact.
> so, is it theoretically possible for postsuper to do this, or is it too
> late in the game for such tricks to be played?
>
Postfix queue files are write once. To change the envelope you need to
generate a new queue file. All queue file creation happens in cleanup(8)
via either smtpd(8), pickup(8) or qmqpd(8). Pick your re-injection
channel.
Whether the tool is postsuper or not, a new message needs to be injected
into Postfix.
-- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:?body=unsubscribe%20postfix-users>
|
|
|