From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: message-make-sender - what's the purpose? Date: Thu, 24 Dec 2015 22:44:16 +0600 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1450975510 7890 80.91.229.3 (24 Dec 2015 16:45:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Dec 2015 16:45:10 +0000 (UTC) Cc: Emacs developers To: sds@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 24 17:45:00 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aC90d-0004XX-NF for ged-emacs-devel@m.gmane.org; Thu, 24 Dec 2015 17:45:00 +0100 Original-Received: from localhost ([::1]:60823 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aC90Y-00065q-0o for ged-emacs-devel@m.gmane.org; Thu, 24 Dec 2015 11:44:54 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34699) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aC90J-00065d-Ti for emacs-devel@gnu.org; Thu, 24 Dec 2015 11:44:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aC90J-0006YT-22 for emacs-devel@gnu.org; Thu, 24 Dec 2015 11:44:39 -0500 Original-Received: from mail-lb0-x232.google.com ([2a00:1450:4010:c04::232]:35846) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aC90H-0006Xa-Gr; Thu, 24 Dec 2015 11:44:37 -0500 Original-Received: by mail-lb0-x232.google.com with SMTP id oh2so62348403lbb.3; Thu, 24 Dec 2015 08:44:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=Z5BRO2ZeKlj2xcfhdopCmOGoRpC84MEm7ebeQp0GUfU=; b=pjZnyRqUUGVwEptJLPMdu24HUiSCYh/ruKSem4zNzbEnmtrfqhKPNa3U6Hm3etmTps cVD5VrE4NuSAEj0Ae00lso+TO+5QFJvu4CQbrkdUy3jGN78rnO/Vln0hY8kdlHkLOFXW EP4fZ2JuepVcnC0rWeU87zYArUSJc0yvVnNdyUWJLSDmEMHPrqAypeSSlWqHMRPiSScl oPxw3W5dZGXKjoKb3zgPQ/8MdW3hwdkhDh+BuEQM5LmcId5X3HZB64oZyiRNhyEd6zTh 0OLtkdlfbj3QPt+xMYm5vMrHybhzXpEvrKedvWPehV6Zg3jf3GZZ+NtQcwmV1wW4Khvw swFw== X-Received: by 10.112.126.42 with SMTP id mv10mr12665483lbb.98.1450975476310; Thu, 24 Dec 2015 08:44:36 -0800 (PST) Original-Received: by 10.112.129.163 with HTTP; Thu, 24 Dec 2015 08:44:16 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: 7fFjUne-F_WAYCCMGJpm25RGEKs X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c04::232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:196766 Archived-At: On Fri, May 15, 2015 at 12:54 AM, Sam Steingold 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 =E2=80=9Csds=E2=80=9D on a host =E2= =80=9Cexample.org=E2=80=9D, email addressed at =E2=80=9Csds@example.org=E2=80=9D would be delivered to = you. In a modern world, MUAs run on machines which are not =E2=80=9Con=E2=80=9D = the Internet. They only have true connectivity within a local network and use NAT when talking to the outside world. Users=E2=80=99 machines have hos= t names which are only meaningful within the local network. Users=E2=80=99 machines do not run an MTA, preferring to send mail via their mail provider=E2=80=99s servers. Now if you were to ssh into a box on your provider=E2=80=99s network and ru= n Emacs there, the value returned by (message-make-sender) might have a chance of being useful.