From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: Default for the envelope From in smtpmail.el Date: Sat, 11 Aug 2012 22:08:06 -0400 Message-ID: References: <0xwr16rzz5.fsf@fencepost.gnu.org> <83zk62c56n.fsf@gnu.org> <1usjbt9uzm.fsf@fencepost.gnu.org> <87628pj727.fsf@uwakimon.sk.tsukuba.ac.jp> <19713425-C419-4A09-8D66-24717D761FE8@mit.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1344737295 6207 80.91.229.3 (12 Aug 2012 02:08:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 12 Aug 2012 02:08:15 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 12 04:08:16 2012 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 1T0NbC-0001Uv-1y for ged-emacs-devel@m.gmane.org; Sun, 12 Aug 2012 04:08:14 +0200 Original-Received: from localhost ([::1]:33531 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0NbA-0000R5-GJ for ged-emacs-devel@m.gmane.org; Sat, 11 Aug 2012 22:08:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0Nb7-0000Qy-A0 for emacs-devel@gnu.org; Sat, 11 Aug 2012 22:08:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T0Nb6-0006yC-02 for emacs-devel@gnu.org; Sat, 11 Aug 2012 22:08:09 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:60515) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0Nb5-0006y8-Sy for emacs-devel@gnu.org; Sat, 11 Aug 2012 22:08:07 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1T0Nb5-0001Of-07; Sat, 11 Aug 2012 22:08:07 -0400 X-Spook: Cohiba PGP SWAT SAPO computer terrorism Panama data haven X-Ran: :_9d0)8e(:Ce<5haq\FDwH.-kgnvwx-c|+bzziR@>MU8Q0k]6/7SM=6=d_/h)?l_dzv/mD X-Hue: cyan X-Attribution: GM In-Reply-To: <19713425-C419-4A09-8D66-24717D761FE8@mit.edu> (chad's message of "Sat, 11 Aug 2012 17:42:24 -0700") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.10 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:152447 Archived-At: chad wrote: > I suspect that Glenn is talking about the case where Emacs is > pretending to be an MTA. Not as far as I know. I'm talking about plain old talking to an SMTP server. smtpmail-via-smtp (abbreviated) does this: (smtpmail-send-command "MAIL FROM:" envelope-from ...) Currently envelope-from defaults to user-mail-address, which may bear no relation to the From: header, which I argue is what the majority will want to use. This is particularly likely to cause problems if you have multiple email accounts, since there is only one value of user-mail-address, which cannot be right for all of them. But I find it hard to think of any case where you want to sent to MAIL FROM != From:. They might exist, but should not be the default.