From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Default for the envelope From in smtpmail.el Date: Tue, 05 Jul 2011 20:16:38 +0300 Message-ID: <83fwmkps09.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1309891691 29395 80.91.229.12 (5 Jul 2011 18:48:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 5 Jul 2011 18:48:11 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 05 20:48:06 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QeAfG-00079M-4G for ged-emacs-devel@m.gmane.org; Tue, 05 Jul 2011 20:48:06 +0200 Original-Received: from localhost ([::1]:47943 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeAfE-0008LC-Lq for ged-emacs-devel@m.gmane.org; Tue, 05 Jul 2011 14:48:05 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qe9Gp-0000Ka-LB for emacs-devel@gnu.org; Tue, 05 Jul 2011 13:18:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qe9Gk-0001Pl-Hh for emacs-devel@gnu.org; Tue, 05 Jul 2011 13:18:47 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:40942) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qe9Gk-0001Pd-22 for emacs-devel@gnu.org; Tue, 05 Jul 2011 13:18:42 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LNV00600EMJ8A00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Tue, 05 Jul 2011 20:18:40 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.8.216]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LNV005ETER3C7W0@a-mtaout21.012.net.il>; Tue, 05 Jul 2011 20:18:40 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.169 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:141605 Archived-At: > From: Lars Magne Ingebrigtsen > Date: Tue, 05 Jul 2011 17:16:22 +0200 > > Currently, the default envelope from address (aka. SMTP "MAIL FROM") in > smtpmail is `user-mail-address'. The user can change this by changing > some rather confusing variables called `mail-specify-envelope-from' and > `mail-envelope-from'. > > I wonder whether a more sensible default here would be to use the From: > address in the buffer being sent. Some MTAs filter on the MAIL FROM, > and only allow access based on a filter, and people adjust their From: > headers to reflect that. > > For instance, when they are at work with their laptops, they use "From: > foo@workplace.com", and at home "From: foo@gmail.com". > > I have no idea whether changing this default will break more stuff than > it would help, though. Thoughts? I would suggest not to make any new-featurish changes at this point that are not absolutely necessary. We are just a couple of weeks from the pretest -- do we really want to make Emacs as unstable as humanly possible till then?