all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuri Khan <yuri.v.khan@gmail.com>
To: sds@gnu.org
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: message-make-sender - what's the purpose?
Date: Thu, 24 Dec 2015 22:44:16 +0600	[thread overview]
Message-ID: <CAP_d_8WyPotKkc+bAGQ9VTEjvwbqW-6cwiieyFaBtVZM2x95vQ@mail.gmail.com> (raw)
In-Reply-To: <m2siazhtw5.fsf@gnu.org>

On Fri, May 15, 2015 at 12:54 AM, Sam Steingold <sds@gnu.org> wrote:

> For me (message-make-sender) returns "sds@sds-MacBook-Pro.local".
> When can this value be ever useful?

That function relies on several assumptions that has long become
obsolete: that every machine where a mail user agent might run is
reachable on the Internet, has a host name, and runs a mail transfer
agent which accepts mail directed at that host name.

Under that assumption, if you were user “sds” on a host “example.org”,
email addressed at “sds@example.org” would be delivered to you.

In a modern world, MUAs run on machines which are not “on” the
Internet. They only have true connectivity within a local network and
use NAT when talking to the outside world. Users’ machines have host
names which are only meaningful within the local network. Users’
machines do not run an MTA, preferring to send mail via their mail
provider’s servers.

Now if you were to ssh into a box on your provider’s network and run
Emacs there, the value returned by (message-make-sender) might have a
chance of being useful.



      parent reply	other threads:[~2015-12-24 16:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-14 18:54 message-make-sender - what's the purpose? Sam Steingold
2015-12-24 16:19 ` Lars Ingebrigtsen
2016-01-04 19:37   ` Sam Steingold
2015-12-24 16:44 ` Yuri Khan [this message]

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=CAP_d_8WyPotKkc+bAGQ9VTEjvwbqW-6cwiieyFaBtVZM2x95vQ@mail.gmail.com \
    --to=yuri.v.khan@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=sds@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.