From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Greg A. Woods" Newsgroups: gmane.emacs.devel Subject: Re: use of 'sendmail -t' Date: Mon, 5 May 2003 12:25:05 -0400 (EDT) Organization: Planix, Inc.; Toronto, Ontario; Canada Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: Reply-To: "Greg A. Woods" NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1052153636 6686 80.91.224.249 (5 May 2003 16:53:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 5 May 2003 16:53:56 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon May 05 18:53:46 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19CirE-000061-00 for ; Mon, 05 May 2003 18:30:28 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19CiuJ-0002up-00 for ; Mon, 05 May 2003 18:33:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19CisS-0003S8-00 for emacs-devel@quimby.gnus.org; Mon, 05 May 2003 12:31:44 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19CipS-0001cH-00 for emacs-devel@gnu.org; Mon, 05 May 2003 12:28:38 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19CioH-0000cE-00 for emacs-devel@gnu.org; Mon, 05 May 2003 12:27:28 -0400 Original-Received: from proven.weird.com ([204.92.254.15]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19Cim1-00081S-00; Mon, 05 May 2003 12:25:05 -0400 Original-Received: from localhost (5358 bytes) by proven.weird.com via sendmail with P:stdio/R:bind_hosts/T:inet_zone_bind_smtp (sender: ) (ident using unix) id for ; Mon, 5 May 2003 12:25:05 -0400 (EDT) (Smail-3.2.0.115-Pre 2001-Aug-6 #4 built 2003-Apr-17) X-Face: ;j3Eth2XV8h1Yfu*uL{<:dQ$#E[DB0gemGZJ"J#4fH*][ lz; @-iwMv_u\6uIEKR0KY"=MzoQH#CrqBN`nG_5B@rrM8,f~Gr&h5a\= X-Mailer: VM 7.07 under Emacs 21.2.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13698 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13698 [ On Monday, May 5, 2003 at 10:32:57 (-0400), Richard Stallman wrote: ] > Subject: [ttn@glug.org: [gerd.moellmann@t-online.de: Re: [Don Saklad ] How to correct or bypass an error. Control-u f rmail in emacs onfencepost]] > > We made this change at your recommendation. Apparently it does not work. > Can you give us any advice? It used to work just fine, and IIRC still does, at least for me. Someone must have broken something else in whatever versions of software used for testing with now. However there's an extreme dearth of useful and meaningful information in the following so I can't really tell what's going wrong or what anyone else expects to happen. The straying subject lines, including the one this message started out with, are very confusing too. Sendmail, Smail, Exim, Zmailer, and if I remember correctly, Postfix as well, will each just "do the right thing" (as per RFC [2]822) if given a '-t' option on the command line, regardless of whether there are "Resent-*" destination headers or not. In no case should any addresses ever be given on the command-line when '-t' is used. Note also that Postfix is not (yet) fully sendmail compatible with '-t' and additional command-line addresses. So, in summary, yes, "sendmail -t" is definitely always appropriate in the presense of "Resent-*" headers", for all sendmail compatible mailers (i.e. MTAs with a "sendmail" command-line interface for message submission), and Postfix as well (even though Postfix is only part-way compatible with the real sendmail). You can see this is true by doing tests similar to these: $ /usr/libexec/sendmail/sendmail -t -bv Resent-To: To: asdf ^D ... deliverable: mailer esmtp, host weird.com., user woods@weird.com $ smail -v -bv -t new spool file is /var/spool/smail/input/19Ciij-001iMEC Resent-To: To: asdf ^D woods@weird.com: weird.com matched by inet_hosts router: routed woods@weird.com --> woods@weird.com at weird.com transport hint mx 1 mail.weird.com address hint mail.weird.com 204.92.254.2 transport is smtp woods@weird.com at weird.com ... deliverable (Postfix can't be tested in this way, and I don't have command-line access to sites running Exim or Zmailer but I can assure you they'll give identical results.) I can't access the SMTP server on fencpost.gnu.org so I can't tell what kind of mailer is running there. I suspect though that's where the problem lies. > ------- Start of forwarded message ------- > From: Thien-Thi Nguyen > To: emacs-devel@gnu.org > Date: Sat, 03 May 2003 11:23:00 -0400 > Subject: [gerd.moellmann@t-online.de: Re: [Don Saklad ] How > to correct or bypass an error. Control-u f rmail in emacs onfencepost] > Reply-To: ttn@glug.org > Sender: emacs-devel-bounces+rms=gnu.org@gnu.org > > could a sendmail expert comment on whether or not unconditional "-t" in > mail/sendmail.el `sendmail-send-it' in the presence of Resent-* headers > is appropriate? my gut feeling is that this change was intended as > temporary, since the code is still there, just commented out. Gerd does > not remember the details. > > background: the reported misbehavior is that `C-u f' in rmail on > fencepost results in the MTA signalling error (it does not accept > "Resent-*" headers when using "-t"). > > thi > > > ------- Start of forwarded message ------- > From: gerd.moellmann@t-online.de (Gerd Moellmann) > Subject: Re: [Don Saklad ] How to correct or bypass an error. Control-u f rmail in emacs on fencepost > Date: 03 May 2003 16:51:11 +0200 > > Thien-Thi Nguyen writes: > > > i notice a 2001-03-21 change in emacs/mail/sendmail.el: > > > > * mail/sendmail.el (sendmail-send-it): Don't parse Resent-* > > headers. Always invoke sendmail with option -t. > > > > that seems to trigger the problem described below. was this change > > supposed to be temporary? > > I'm sorry, but I don't remember a bit of this. Maybe some on > emacs-devel remembers. > ------- End of forwarded message ------- > > > _______________________________________________ > Emacs-devel mailing list > Emacs-devel@gnu.org > http://mail.gnu.org/mailman/listinfo/emacs-devel > ------- End of forwarded message ------- > -- Greg A. Woods +1 416 218-0098; ; Planix, Inc. ; VE3TCP; Secrets of the Weird