Mail::Box resend problem

Slaven Rezic <[email protected]> 28 Jan 2005 13:41:10 +0100
Newsgroups gmane.comp.lang.perl.modules.mail-box
Message-ID <[email protected]>
Hello Mark,

using a simple script which just does:

    my $bounce = $message->bounce; # $message is-a Mail::Message from a Mail::Box::MBox
    $bounce->send;

fails with the message

    No recipient addresses found in header

The error message is printed by sendmail. I poked a little with
introducing and removing Resent-* headers, and it seems to work if there
are no Resent-* headers at all, or if Resent-To: is also defined.
Reading the RFC2822 I see no references about a required Resent-To
header (only a required Resent-From header, but this is added
automatically by sendmail). Is this a sendmail problem? Should bounce()
add a Resent-To header (and maybe also Resent-Cc and Resent-Bcc) head?

Regards,
	Slaven

PS: Do we meet us in this year's german perl workshop?

-- 
Slaven Rezic > Development
iconmobile GmbH > Methfesselstr. 32-36 > D-10965 Berlin
phone +49 30 890 686 32 > fax +49 30 890 686 50
[email protected] > http://www.iconmobile.com