Gnus development mailing list
 help / color / mirror / Atom feed
From: patl@cag.lcs.mit.edu (Patrick J. LoPresti)
Subject: Re: Fully-qualifying Email addresses in outgoing mail
Date: 10 Dec 1999 13:28:49 -0500	[thread overview]
Message-ID: <s5gk8mmk5um.fsf@egghead.curl.com> (raw)
In-Reply-To: Stainless Steel Rat's message of "10 Dec 1999 12:23:42 -0500"

Stainless Steel Rat <ratinox@peorth.gweep.net> writes:

> If I understand what you want, I think what you want is broken.  It is
> critically important to remember two things:
> 
> First, an RFC 822 mailbox has absolutely no relationship whatsoever with
> the machine on which the message is composed or from what machine it is
> submitted to the MTA.

Yes.

> Second, a local mailbox is completely bound to the local machine.

No.

> If I have `To: ratinox', the message should be delivered locally because
> that is what I have told my local MTA to do.

So a user composing mail on a Windows laptop, which has no message
queue, must type in a fully-qualified name every time?  Of course not.
If you type a name which is not fully-qualified, it is the system's
job to figure out what you mean.  That may or may not mean a mailbox
on the local system.  People working at FooCorp expect that "bozo"
will be converted into "bozo@foo.com".  And the RFCs say such a
conversion must happen before anything is sent via SMTP.

(The reason for this is obvious: Recipients in foreign domains need to
see fully-qualified addresses or they can't follow-up.)

> If it is rewritten for canonicity with a complete domain part, then
> the message would be sent out to my MX host where I would have to
> grab it via POP.

Which would be superior behavior for almost all users.  And I am
suggesting this as an option, not a requirement.

> This is not something unique to qmail, by the way.  To and Cc should never
> be rewritten.  If qmail-inject is rewriting To and Cc mailboxes, it is
> doing something wrong.

Do you agree that bare addresses must not appear in a SMTP message, as
the RFC specifies?  So it is a *bug* that message-mode/smtpmail (blame
whichever you like) generates SMTP messages with such addresses in
them.  I am requesting a way to avoid this buggy behavior.  One option
would be for smtpmail to refuse to send such messages; I am suggesting
something more useful.

Note that sendmail rewrites the addresses whether you invoke it from
the command line or talk to it via smtp.  The latter is the only
reason smtpmail.el works at all.

Qmail (correctly) only rewrites addresses when you invoke it on the
command-line.  This behavior is configurable, of course.

I think it is quite unlikely that both sendmail and qmail-inject are
"doing something wrong" in their default configurations.

 - Pat


  reply	other threads:[~1999-12-10 18:28 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-09 21:51 Patrick J. LoPresti
1999-12-10  9:32 ` Per Abrahamsen
1999-12-10 14:59   ` Patrick J. LoPresti
1999-12-10 15:41     ` Kai Großjohann
1999-12-10 15:51       ` Kai Großjohann
1999-12-10 16:02         ` Patrick J. LoPresti
1999-12-10 17:22           ` Stainless Steel Rat
1999-12-10 18:28             ` Patrick J. LoPresti [this message]
1999-12-10 18:32               ` Patrick J. LoPresti
1999-12-10 19:08               ` Stainless Steel Rat
1999-12-10 20:20                 ` Patrick J. LoPresti
1999-12-10 20:48                 ` Patrick J. LoPresti
1999-12-10 22:03                   ` Stainless Steel Rat
1999-12-10 22:14                     ` Russ Allbery
1999-12-10 22:24                       ` Stainless Steel Rat
1999-12-10 22:41                         ` Russ Allbery
1999-12-11  1:03                     ` Patrick J. LoPresti
1999-12-10 22:15                 ` Russ Allbery
1999-12-10 22:30                   ` Stainless Steel Rat
1999-12-11  1:28                     ` Patrick J. LoPresti
1999-12-11  3:09                       ` Stainless Steel Rat
1999-12-11  3:14                         ` Russ Allbery
1999-12-12 15:55                           ` Stainless Steel Rat
1999-12-10 19:44             ` Kai Großjohann
1999-12-10 20:58               ` Stainless Steel Rat
1999-12-10 21:36                 ` Patrick J. LoPresti
1999-12-10 22:17                   ` Stainless Steel Rat
1999-12-11  0:55                     ` Patrick J. LoPresti
1999-12-11 11:44                       ` Per Abrahamsen
1999-12-11 16:58                         ` Amos Gouaux
1999-12-10 20:25 ` Patrick J. LoPresti

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=s5gk8mmk5um.fsf@egghead.curl.com \
    --to=patl@cag.lcs.mit.edu \
    /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).