[Mimedefang] Bounce AND send a copy?

David F. Skoll dfs at roaringpenguin.com
Wed Sep 29 19:32:37 EDT 2004


On Wed, 29 Sep 2004 Matthew.van.Eerde at hbinc.com wrote:

> So what you want to do is set @Recipients =
> ('spamassassin at dg.denmantire.com');, send a bounce message to the SMTP
> sending agent, and deliver the message anyway?

> I believe that can actually be done but it requires a patch to
> libmilter (to allow simultaneous reject-and-deliver-anyway)

This is unnecessarily complicated; just mail yourself a copy and call
action_bounce() on the original.  (Be sure not to bounce the *copy* by
checking that it comes from 127.0.0.1 and skipping most filtering.)

There are examples in mimedefang.pl of how to re-send the message
to another recipient.

Regards,

David.



More information about the MIMEDefang mailing list