Gnus development mailing list
 help / color / mirror / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Cc: "(ding)" <ding@gnus.org>
Subject: Re: Sender header?
Date: 24 May 2001 18:31:37 +0200	[thread overview]
Message-ID: <vafsnhuk8t2.fsf@lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: <01May24.115917edt.115250@gateway.intersys.com> (Stainless Steel Rat's message of "Thu, 24 May 2001 11:59:02 -0400")

On Thu, 24 May 2001, Stainless Steel Rat wrote:

> * Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) 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.
> 
> 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.
> 
> 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 == 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
-- 
~/.signature: No such file or directory


  reply	other threads:[~2001-05-24 16:31 UTC|newest]

Thread overview: 121+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-23 16:27 Kai Großjohann
2001-05-23 16:34 ` Paul Jarc
2001-05-24 13:17   ` Kai Großjohann
2001-05-23 18:14 ` Stainless Steel Rat
2001-05-24 13:11   ` Kai Großjohann
2001-05-24 15:59     ` Stainless Steel Rat
2001-05-24 16:31       ` Kai Großjohann [this message]
2001-05-24 18:35         ` Stainless Steel Rat
2001-05-24 19:00           ` Paul Jarc
2001-05-24 19:34             ` Stainless Steel Rat
2001-05-24 19:52               ` Paul Jarc
2001-05-24 20:32                 ` Stainless Steel Rat
2001-05-24 20:48                   ` Paul Jarc
2001-05-24 21:20                     ` Stainless Steel Rat
2001-05-24 21:31                       ` Paul Jarc
2001-05-25  1:15                         ` Stainless Steel Rat
2001-05-25 15:26                           ` Paul Jarc
2001-05-24 22:59                       ` Kai Großjohann
2001-05-25  1:23                         ` Stainless Steel Rat
2001-05-25  2:38                           ` Bjørn Mork
2001-05-25  4:12                             ` Stainless Steel Rat
2001-05-25  9:30                             ` Kai Großjohann
2001-05-25  9:28                           ` Kai Großjohann
2001-05-25 20:08                             ` Stainless Steel Rat
2001-05-25 20:30                               ` Paul Jarc
2001-05-25 22:00                                 ` Bjørn Mork
2001-05-26  5:09                                 ` Stainless Steel Rat
2001-05-27 22:34                                   ` Paul Jarc
2001-05-27 23:14                                     ` Stainless Steel Rat
2001-05-27 23:31                                       ` Paul Jarc
2001-05-25 21:49                               ` Kai Großjohann
2001-05-26  5:29                                 ` Stainless Steel Rat
2001-05-26 22:26                                   ` Kai Großjohann
2001-05-24 23:18                       ` Barry Fishman
2001-05-25  1:30                         ` Stainless Steel Rat
2001-05-25 16:06                           ` Paul Jarc
2001-05-25  2:10                         ` Harry Putnam
2001-05-25  4:24                           ` Stainless Steel Rat
2001-05-25  5:05                             ` Harry Putnam
2001-05-25 16:13                               ` Paul Jarc
2001-05-25 16:17                           ` Paul Jarc
2001-05-25 17:50                             ` Harry Putnam
2001-05-25 18:16                               ` Paul Jarc
2001-05-25 19:45                                 ` Harry Putnam
2001-05-25 21:59                                   ` Kai Großjohann
2001-05-25 21:55                               ` Kai Großjohann
2001-05-25 23:40                                 ` Harry Putnam
     [not found]                                   ` <87y9rknm6e.fsf@bandersnatch.i-did-not-set--mail-host-address--so-shoot-me>
2001-05-26 16:05                                     ` Harry Putnam
2001-06-02 21:44                                       ` Amos Gouaux
2001-05-26 22:21                                   ` Kai Großjohann
2001-05-27 21:39                                   ` Paul Jarc
2001-05-27 22:00                                     ` Harry Putnam
2001-05-27 22:22                                       ` Paul Jarc
2001-05-26 17:02                           ` Barry Fishman
2001-05-26 20:20                             ` Harry Putnam
2001-05-27 23:38                               ` Paul Jarc
2001-05-27 23:42                             ` Paul Jarc
2001-05-25  3:08                         ` Russ Allbery
2001-05-25  4:28                           ` Stainless Steel Rat
2001-05-25  5:21                             ` Russ Allbery
2001-05-25  9:23                             ` Kai Großjohann
2001-05-25 20:00                               ` Stainless Steel Rat
2001-05-25 21:52                                 ` Kai Großjohann
2001-05-26  5:33                                   ` Stainless Steel Rat
2001-05-26 22:24                                     ` Kai Großjohann
2001-05-25 11:46                           ` Per Abrahamsen
2001-05-25 21:56                             ` Jesper Harder
2001-05-25 16:21                           ` Paul Jarc
2001-05-26  6:45                             ` Russ Allbery
2001-05-26 22:22                               ` Kai Großjohann
2001-05-27 21:46                                 ` Paul Jarc
2001-05-27 21:45                               ` Paul Jarc
2001-05-27 22:48                                 ` Russ Allbery
2001-05-25  2:01                       ` Bjørn Mork
2001-05-24 22:53                   ` Kai Großjohann
2001-05-25  1:38                     ` Stainless Steel Rat
2001-05-25 14:56                       ` Paul Jarc
2001-05-25 20:12                         ` Stainless Steel Rat
2001-05-25 20:39                           ` Paul Jarc
2001-05-25 22:04                             ` Kai Großjohann
2001-05-25 22:15                               ` Paul Jarc
2001-05-25 22:34                                 ` Kai Großjohann
2001-05-25 22:47                                   ` Paul Jarc
2001-05-26  5:26                             ` Stainless Steel Rat
2001-05-27 22:15                               ` Paul Jarc
2001-05-27 23:02                                 ` Stainless Steel Rat
2001-05-27 23:20                                   ` Paul Jarc
2001-05-24 20:30               ` Graham Murray
2001-05-24 21:13                 ` Stainless Steel Rat
2001-05-24 21:26                   ` Paul Jarc
2001-05-25  1:12                     ` Stainless Steel Rat
2001-05-25  2:27                       ` Bjørn Mork
2001-05-25  4:10                         ` Stainless Steel Rat
2001-05-25  9:37                           ` Kai Großjohann
2001-05-25 19:54                             ` Stainless Steel Rat
2001-05-25  3:10                       ` Russ Allbery
2001-05-25  4:11                         ` Stainless Steel Rat
2001-05-25  5:20                           ` Russ Allbery
2001-05-25 15:55                       ` Paul Jarc
2001-05-24 23:02                   ` Kai Großjohann
2001-05-25  1:12                     ` Stainless Steel Rat
2001-05-25  9:35                       ` Kai Großjohann
2001-05-24 22:40           ` Kai Großjohann
2001-05-25 14:44             ` Paul Jarc
2001-05-24 22:49           ` Kai Großjohann
2001-05-24 20:18     ` Christoph Conrad
2001-05-24 20:29       ` Paul Jarc
2001-05-25  8:17         ` Christoph Conrad
2001-05-25  1:45 ` Karl Kleinpaste
2001-05-25  9:19   ` Kai Großjohann
2001-05-25 11:50     ` Karl Kleinpaste
2001-05-25 15:31       ` Paul Jarc
2001-05-25 21:21       ` Christoph Conrad
2001-05-25 15:35     ` Paul Jarc
2001-05-25 16:12       ` Kai Großjohann
2001-05-25 16:24         ` Paul Jarc
2001-05-25 16:49           ` Kai Großjohann
2001-05-25 17:39             ` Paul Jarc
2001-05-25 18:01               ` Bjørn Mork
2001-05-25 18:23                 ` Paul Jarc
2001-05-25 18:01               ` Kai Großjohann

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

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

  git send-email \
    --in-reply-to=vafsnhuk8t2.fsf@lucy.cs.uni-dortmund.de \
    --to=kai.grossjohann@cs.uni-dortmund.de \
    --cc=ding@gnus.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.
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 NNTP newsgroup(s).