[Mimedefang] Question about bounces - How do I do this?
David F. Skoll
dfs at roaringpenguin.com
Tue Oct 22 07:27:01 EDT 2002
On Mon, 21 Oct 2002, Troy Carpenter wrote:
> if ($Sender eq "<>" ) {
> resend_message(@Recipients);
> action_discard()
> }
> This works, but the only problem (but not really a problem, but probably
> a bug) is that the Return-Path header reads "<-odd at carpenter.cx>"
To fix that, do this:
if ($Sender eq "<>") {
# Temporarily change sender
$Sender = '<bounce-man at carpenter.cx>';
resend_message(@Recipients);
# Set sender back
$Sender = '<>';
action_discard();
}
I will fix mimedefang.pl not to strip <> from the sender when it resends
a message.
--
David.
More information about the MIMEDefang
mailing list