From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/36343 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Sender header? Date: 24 May 2001 18:31:37 +0200 Sender: grossjoh@lucy.cs.uni-dortmund.de Message-ID: References: <01May23.141128edt.115245@gateway.intersys.com> <01May24.115917edt.115250@gateway.intersys.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035171943 8120 80.91.224.250 (21 Oct 2002 03:45:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:45:43 +0000 (UTC) Cc: "(ding)" Return-Path: Original-Received: (qmail 25752 invoked by alias); 24 May 2001 16:32:06 -0000 Original-Received: (qmail 25747 invoked from network); 24 May 2001 16:32:06 -0000 Original-Received: from waldorf.cs.uni-dortmund.de (129.217.4.42) by gnus.org with SMTP; 24 May 2001 16:32:06 -0000 Original-Received: from marcy.cs.uni-dortmund.de (marcy.cs.uni-dortmund.de [129.217.20.159]) by waldorf.cs.uni-dortmund.de with ESMTP id SAA28436; Thu, 24 May 2001 18:31:37 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.20.160]) by marcy.cs.uni-dortmund.de id SAA24263; Thu, 24 May 2001 18:31:37 +0200 (MET DST) Original-Received: (from grossjoh@localhost) by lucy.cs.uni-dortmund.de (8.9.3/8.9.3/Debian 8.9.3-21) id SAA02437; Thu, 24 May 2001 18:31:37 +0200 X-Face: 6=pZ4hVbjN:C?j1$h/-bi4:F%*~B#Rxb$[0%!{5NK"dE:_QRAM]Dzl=$yMu%Rh4xCSm/#>! $n%@SHJ](KFJKL,uF\=G=bRJQC$ ?+Dlxu*pj.Z,-GK<~y7sd/l*PN\]>} In-Reply-To: <01May24.115917edt.115250@gateway.intersys.com> (Stainless Steel Rat's message of "Thu, 24 May 2001 11:59:02 -0400") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.104 Original-Lines: 89 Xref: main.gmane.org gmane.emacs.gnus.general:36343 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:36343 On Thu, 24 May 2001, Stainless Steel Rat wrote: > * Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) on Thu, 24 May > 2001 > | By default, Gnus creates a From header for all outgoing messages. > | This is because From is mentioned in message-required-mail-headers and > | message-required-news-headers. >=20 > And nobody complains about From being wrong. Therefore it is safe > to assume that in cases where a correct From field is (or would be) > generated, a correct Sender field would also be generated when the > From field is not canonical for the sending host. I dare say that people don't complain because people can frob their >>From header via user-mail-address. They cannot, however, frob their Sender header via user-mail-address. Right now, if user-mail-address is set, Gnus behaves as follows: - If no From header is specified, generate one using user-mail-address. - Generate a Sender header using user-login-name, followed by "@", followed by system-name. - If the Sender header is redundant, delete it. I wish to change it as follows: - If no From header is specified, generate one using user-mail-address. - Generate a Sender header using user-mail-address. - If the Sender header is redundant, delete it. It seems that my suggestion is what you want, since you assume that the algorithms for generating From and Sender headers are the same. However, in the current Gnus they are not the same. I want to make them the same. > | > | Only add a Sender header if the From header is different from > | > | the normal value. > | > This is what Gnus does now, yes? > | No. As you can see in this message, Gnus automatically adds a > | Sender header. I have changed the variable user-mail-address. >=20 > Then what I said is correct, and what Gnus does is also correct as > far as RFC 2822 is concerned. I don't know what does RFC 2822 say. I only know about RFC 822. The local RFC server doesn't seem to know about this RFC. Can you help out? > I have several mailboxes: ratinox@rei.nerv.gweep.net, > ratinox@newsguy.com, SamuraiRat@hotmail.com, > ratinox@peorth.gweep.net, and others. They are all me, but that > does not mean ratinox@newsguy.com =3D=3D ratinox@peorth.gweep.net. They > are different mailboxes. If I were to send a message from my local > machine (peorth.gweep.net) and address it from my Hotmail address, > the MUA is required to generate a Sender header with > ratinox@peorth.gweep.net as its contents. I'm with you so far. I presume that you have set user-mail-address to "ratinox@peorth.gweep.net". Then my proposal does what you want. > You have done exactly the same thing. The fact that your mailboxes > are within the same domain is irrelevant, and lucy should have an MX > record that points it at the cs.uni-dortmund.de mail servers, which > in fact it does, which makes Kai.Grossjohann@lucy.CS.Uni-Dortmund.DE > a valid mailbox. I am lucky that user-login-name at system-name is a valid mail address and that mail sent there reaches me. However, not everybody might be as lucky. As I see it, Gnus has no way of automatically finding out what is the email address of the user running Emacs. Therefore, it should be possible to tell Gnus. But just this is not possible. > Put susinctly, Gnus is doing exactly what it should, when it should, > according to RFC 2822, and I do not understand why you want to break > it :). I do not understand why you think I'm breaking anything. kai --=20 ~/.signature: No such file or directory