unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Greg A. Woods" <woods@weird.com>
Cc: emacs-devel@gnu.org
Subject: Re: use of 'sendmail -t'
Date: Mon, 5 May 2003 12:25:05 -0400 (EDT)	[thread overview]
Message-ID: <m19Cim1-000B3oC@proven.weird.com> (raw)
In-Reply-To: <E19Ch1V-0000qc-00@fencepost.gnu.org>

[ 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 <dsaklad@gnu.org>] 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: <woods@weird.com>
	To: <woods@robohack.ca>
	
	asdf
	^D
	<woods@weird.com>... 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: <woods@weird.com>
	To: <woods@robohack.ca>
	
	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 <ttn@glug.org>
> To: emacs-devel@gnu.org
> Date: Sat, 03 May 2003 11:23:00 -0400
> Subject: [gerd.moellmann@t-online.de: Re: [Don Saklad <dsaklad@gnu.org>] 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 <dsaklad@gnu.org>] 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 <ttn@glug.org> 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;            <g.a.woods@ieee.org>;           <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>

  reply	other threads:[~2003-05-05 16:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-05 14:32 [ttn@glug.org: [gerd.moellmann@t-online.de: Re: [Don Saklad <dsaklad@gnu.org>] How to correct or bypass an error. Control-u f rmail in emacs onfencepost]] Richard Stallman
2003-05-05 16:25 ` Greg A. Woods [this message]
2003-05-06 10:13   ` use of 'sendmail -t' Richard Stallman
2003-05-06 16:26     ` Greg A. Woods
2003-05-06 17:30       ` Simon Josefsson
2003-05-08 11:47       ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m19Cim1-000B3oC@proven.weird.com \
    --to=woods@weird.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).