Hello Suresh/Marius/Mikko/David,

After my "nomination" :-) for emailing mutt-dev about this, I am 
forwarding to mutt-users a copy of the email I just sent.


Hope you agree with the formulation/etc,

Manuel




----- Forwarded message from [EMAIL PROTECTED] -----

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: problem with bounced messages in mutt-1.2.4/5
Date: Thu, 3 Aug 2000 02:13:23 +0000
User-Agent: Mutt/1.2.5i

Hello,

After a brief thread discussing this issue over at mutt-users, it seems
that I was chosen to email you guys about this.

Simply put, the problem is that if you are on a computer with an
unresolvable hostname (i.e., every single home user out there) and try to
bounce a message, the sender field reads

[EMAIL PROTECTED]

When the ISP's SMTP server tries to resolve this hostname, the look-up
fails and it refuses the connection. So, the message isn't bounced afterall.

(Even if you masqueraded the hostname, there might always be problems because 
if the bounced message bounced back due to a delivery error the delivery-failure 
notification wouldn't be delivered since local_username is probably different 
from the user's email address at the ISP.

Another possible solution we discussed was address rewriting by the MTA, but
if you have more than one email address it will be hard to tell the MTA
which of them to use in the sender field when bouncing.)

This happens even if $envelope_from is set, and since the envelope's "Sender:"
field can't be the same as the email's "From: " when a message written by
someone else is bounced (e.g., the original author of the message would receive
delivery-failure notifications concerning the bounced copies), Marius Gedminas 
suggested that the "Sender:" field be the same as "Resent-From:" and proposed 
the following patch:


~~~~

Maybe something like this would help: this should make envelope from same as
the added Resent-From: header.  The patch is against 1.2.4 and completely
untested.

--- sendlib.c.orig      Sat May 20 08:38:59 2000
+++ sendlib.c   Wed Aug  2 13:03:52 2000
@@ -1890,7 +1890,7 @@
     mutt_copy_bytes (fp, f, h->content->length);
          fclose (f);
          
          -    mutt_invoke_sendmail (NULL, to, NULL, NULL, tempfile,
          +    mutt_invoke_sendmail (resent_from, to, NULL, NULL, tempfile,
                                    h->content->encoding == ENC8BIT);
                                       }
                                       
Marius Gedminas
                                       
~~~~

Cheers and good luck,

Manuel Arriaga

----- End forwarded message -----

Reply via email to