[Mimedefang] resend_message

David F. Skoll dfs at roaringpenguin.com
Mon Jul 21 08:37:00 EDT 2003


On Sun, 20 Jul 2003, Matthew Hall wrote:

> So if my code is something like:

>    md_log('rejected', $hits, $RelayAddr);
>    resend_message('spambox');
>    action_quarantine_entire_message();
>    action_bounce("Not welcome here - rejected.");

> Will that work as intended?

It will, *providing* you check for a single recipient of "spambox" and
skip the resending.  Remember, resent messages are scanned again by
MIMEDefang, and if you don't check for this special case, you can get
into a nasty resending loop.

--
David.



More information about the MIMEDefang mailing list