[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

seeming bug in sendmail.el: resend using -t always does wrong things it

From: Lane A. Hemaspaandra
Subject: seeming bug in sendmail.el: resend using -t always does wrong things it seems...
Date: Mon, 31 May 2004 12:05:39 -0400

dear emacs bug list keeper,

hi!  i use emacs Rmail but am NOT an expert.  however, i noticed that
when i C-u f a message sometimes the machine i am resending to itself
seems to try to send carbons to all the people in the original carbon
copy fields!!---an incorrect behavior.  on May 25th i sent to our
labstaff here an example showing that that was happening (i include it
below).  and they shortly thereafter determined (related to a guess i
sent) that the problem seems to be a change in sendmail.el that i
think was proposed at
and is part of the current sendmail.el---namely, a change in 
sendmail that results in using the -t flag always.  anyway, here is
the reply the staff sent me:

>From address@hidden  Wed May 26 11:57:10 2004
To: "Lane A. Hemaspaandra" <address@hidden>
cc: address@hidden, address@hidden
Subject: Re: mail problem... 
In-reply-to: Your message of "Tue, 25 May 2004 19:13:31 EDT."
Date: Wed, 26 May 2004 11:56:54 -0400
From: Liudvikas Bukys <address@hidden>
X-Spam-Status: No, hits=-4.4 required=5.0

I hand-sent one test message to your RoadRunner account, just to be sure.
You should see that next time you read RoadRunner mail.

MEANWHILE, however,
I must conclude that /usr/share/emacs/21.2/lisp/mail/sendmail.el is broken,
in exactly the place you discovered.  ALWAYS invoking -t is wrong.
As you showed earlier, the code for treating "Resent" mail used to be there,
but was commented out.  For history on why, you can see
but in any event, its current state is broken.  "Fixing" the resent code
might be tricky.  Is there an easy alternative such as keybinding to
piping through a shell script?  -- e.g. for resending just pipe into
"| /usr/lib/sendmail address@hidden"?

again, i'm not at all a mail expert, and so don't follow -t flags and
so on, but the change made in 2001, to fix one bug, seems to have
introduced the bug i mentioned above.  (if this is the wrong place to
send it, i apologize for having taken your time.  and in any case,
thanks and best regards.)

lane (hemaspaandra, Univ. of Roch. Dept. of Comp. Sci.)
- ------- Start of forwarded message -------
Date: 25 May 2004 16:35:36 -0400
From: "Lane A. Hemaspaandra" <address@hidden>
To: labstaff
Subject: mailer problem: blind-forward and cc fields and emacs rmail and mail 

dear labstaff,

i've noticed recently that when i blind-forward an email, sometimes
the mailer tries to send it NOT to whatever address i resend it to but
instead to someone who was in the carbon copy of the ORIGINAL email.  
you can see this happening below.  the mailer i use is the emacs rmail
system.  the command i use is NOT f, but 
         C-u f
namely, the blind-forward command.  now, i can see that that leaves
most of the header intact, but still, in the past i don't recall the
forwarded CC's taking effect (though i can see why they might), and
now they often seem to.  so, i guess this probably is a problem in
either email rmail itself, or if not, is a problem in the say sendmail
is interpreting what emacs is handing it.

- - ------- Start of forwarded message -------
Date: Tue, 25 May 2004 16:20:42 -0400 (EDT)
From: Mail Delivery Subsystem <address@hidden>
To: <address@hidden>
Subject: Warning: could not send message for past 4 hours
Auto-Submitted: auto-generated (warning-timeout)
X-Spam-Status: No, hits=1.6 required=5.0
X-Spam-Level: *

This is a MIME-encapsulated message

- - - --i4PGNDar014368.1085516442/nymx01.mgw.rr.com

    **      THIS IS A WARNING MESSAGE ONLY      **

The original message was received at Tue, 25 May 2004 11:28:48 -0400 (EDT)
from gate.cs.rochester.edu []

   ----- Transcript of session follows -----
451 hunnu.edu.cn: Name server timeout
451 hunnu.edu.cn: Name server timeout
451 hunnu.edu.cn: Name server timeout
451 4.0.0 I/O error
Warning: message still undelivered after 4 hours
Will keep trying until message is 2 days old

- - - --i4PGNDar014368.1085516442/nymx01.mgw.rr.com
Content-Type: message/delivery-status

Reporting-MTA: dns; nymx01.mgw.rr.com
Arrival-Date: Tue, 25 May 2004 11:28:48 -0400 (EDT)

Final-Recipient: RFC822; address@hidden
Action: delayed
Status: 4.4.2
Remote-MTA: DNS; ms-mta-01-fn.nyroc.rr.com
Last-Attempt-Date: Tue, 25 May 2004 16:20:42 -0400 (EDT)
Will-Retry-Until: Thu, 27 May 2004 11:28:48 -0400 (EDT)

- - - --i4PGNDar014368.1085516442/nymx01.mgw.rr.com
Content-Type: text/rfc822-headers

Received: from gate.cs.rochester.edu (gate.cs.rochester.edu [])
        by nymx01.mgw.rr.com (8.12.10/8.12.8) with ESMTP id i4PFSOZu012756
        for <address@hidden>; Tue, 25 May 2004 11:28:48 -0400 (EDT)
Received: from bangkok.cs.rochester.edu (bangkok.cs.rochester.edu 
[]) by gate.cs.rochester.edu (8.11.6+Sun/004) with ESMTP id 
i4PFSCl29125 for <address@hidden>; Tue, 25 May 2004 11:28:12 -0400 (EDT)
Received: from bangkok.cs.rochester.edu (localhost.cs.rochester.edu 
[]) by bangkok.cs.rochester.edu (8.12.8/004u) with ESMTP id 
i4PFSCA3017917 for <address@hidden>; Tue, 25 May 2004 11:28:12 -0400
Received: (from address@hidden)
        by bangkok.cs.rochester.edu (8.12.8/8.12.8/Submit) id i4PFSBxu017913;
        Tue, 25 May 2004 11:28:11 -0400
Resent-Message-Id: <address@hidden>
Resent-From: address@hidden
Resent-Date: 25 May 2004 11:28:11 -0400
Resent-To: address@hidden
X-Coding-System: undecided-unix
Mail-from: From address@hidden  Mon May 24 02:35:42 2004
Received: from gate.cs.rochester.edu (gate.cs.rochester.edu []) by 
slate.cs.rochester.edu (8.11.6+Sun/005) with ESMTP id i4O6Zfq08282 for <lane>; 
Mon, 24 May 2004 02:35:41 -0400 (EDT)
Received: from antivirus2.its.rochester.edu (antivirus2.its.rochester.edu 
[]) by gate.cs.rochester.edu (8.11.6+Sun/004) with ESMTP id 
i4O6ZWl25225 for <address@hidden>; Mon, 24 May 2004 02:35:37 -0400 (EDT)
Received: from antivirus2.its.rochester.edu (localhost [])
        by antivirus2.its.rochester.edu (8.12.9/8.12.4) with ESMTP id 
        for <address@hidden>; Mon, 24 May 2004 02:35:31 -0400 (EDT)
Received: from hunnu.edu.cn ([])
        by antivirus2.its.rochester.edu (8.12.9/8.12.4) with SMTP id 
        for <address@hidden>; Mon, 24 May 2004 02:35:15 -0400 (EDT)
Received: (eyou send program); Mon, 24 May 2004 13:53:27 +0800
Message-ID: <address@hidden>
Received: from by with HTTP; Mon, 24 May 2004 
13:53:27 +0800
From: "ypzhang" <address@hidden>
To: address@hidden
Cc: address@hidden
Date: Mon, 24 May 2004 13:53:27 +0800
Reply-To: "ypzhang" <address@hidden>
X-Priority: 3
Subject: paper submission
MIME-Version: 1.0
Content-Type: multipart/mixed;
X-Virus-Scanned: Symantec AntiVirus Scan Engine

- - - --i4PGNDar014368.1085516442/nymx01.mgw.rr.com--
- - ------- End of forwarded message -------
- ------- End of forwarded message -------
------- End of forwarded message -------

reply via email to

[Prev in Thread] Current Thread [Next in Thread]