From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Default for the envelope From in smtpmail.el Date: Tue, 05 Jul 2011 17:16:22 +0200 Organization: Programmerer Ingebrigtsen Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309883684 10680 80.91.229.12 (5 Jul 2011 16:34:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 5 Jul 2011 16:34:44 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 05 18:34:41 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 1Qe8a7-0006fH-E7 for ged-emacs-devel@m.gmane.org; Tue, 05 Jul 2011 18:34:39 +0200 Original-Received: from localhost ([::1]:49366 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qe8a6-0003ho-8h for ged-emacs-devel@m.gmane.org; Tue, 05 Jul 2011 12:34:38 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:34714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qe7Mi-0007iO-Kk for emacs-devel@gnu.org; Tue, 05 Jul 2011 11:16:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qe7Me-0000PE-ML for emacs-devel@gnu.org; Tue, 05 Jul 2011 11:16:44 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:45553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qe7Me-0000OE-5t for emacs-devel@gnu.org; Tue, 05 Jul 2011 11:16:40 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qe7MZ-0002p8-Ra for emacs-devel@gnu.org; Tue, 05 Jul 2011 17:16:35 +0200 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Jul 2011 17:16:35 +0200 Original-Received: from larsi by cm-84.215.51.58.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Jul 2011 17:16:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 19 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.51.58.getinternet.no Mail-Copies-To: never X-Now-Playing: Joanna Newsom's _Have One On Me (2)_: "Go Long" User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:BNEiANe/oehZ7M3np7yBovgFbUU= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:141598 Archived-At: 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? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/