From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Cross Newsgroups: gmane.emacs.devel Subject: Re: Default for the envelope From in smtpmail.el Date: Wed, 6 Jul 2011 11:30:52 +1000 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1309915884 7106 80.91.229.12 (6 Jul 2011 01:31:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Jul 2011 01:31:24 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 06 03:31:19 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 1QeGxT-0001Xq-A5 for ged-emacs-devel@m.gmane.org; Wed, 06 Jul 2011 03:31:19 +0200 Original-Received: from localhost ([::1]:58295 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeGxR-0006am-Ig for ged-emacs-devel@m.gmane.org; Tue, 05 Jul 2011 21:31:17 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeGx9-0006Zu-2O for emacs-devel@gnu.org; Tue, 05 Jul 2011 21:31:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QeGx4-0004pM-66 for emacs-devel@gnu.org; Tue, 05 Jul 2011 21:30:58 -0400 Original-Received: from mail-iw0-f169.google.com ([209.85.214.169]:60970) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeGx3-0004pF-Su for emacs-devel@gnu.org; Tue, 05 Jul 2011 21:30:53 -0400 Original-Received: by iwn8 with SMTP id 8so7097396iwn.0 for ; Tue, 05 Jul 2011 18:30:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=950UHY6323gtZusAkNcHkUFmOhZLF6i5GKbIH+rGnrU=; b=UrOIIGwhLuV0zQCKcrOaUhk6+FUm6RnLTmTZgGRmTGGM6/ovl0aelEjN3allKupo5A Ne4KkRX+6eHt9oI392pC3sdseHFKAuDZ8iUYB7U9C/BURP0FbsHuD9u/WBk2Sfe0ZIQG AZzzp+STLiCPQsMQ6IH9aATXSD9HfxMWs9PtE= Original-Received: by 10.231.121.140 with SMTP id h12mr7412684ibr.101.1309915852359; Tue, 05 Jul 2011 18:30:52 -0700 (PDT) Original-Received: by 10.231.39.140 with HTTP; Tue, 5 Jul 2011 18:30:52 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.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:141631 Archived-At: On Wed, Jul 6, 2011 at 1:16 AM, Lars Magne Ingebrigtsen wr= ote: > Currently, the default envelope from address (aka. SMTP "MAIL FROM") in > smtpmail is `user-mail-address'. =A0The 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. =A0Some 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. =A0Thoughts? > > -- > (domestic pets only, the antidote for overdose, milk.) > =A0bloggy blog http://lars.ingebrigtsen.no/ > > > Given the short time to pretest, I would wait. I can't remember the full details, but I do distinctly remember running into all sorts of issues with respect to envelope from and mail servers configured to do masquerading and I vaguely remember some issues relating to fetchmail and multi-drop mailboxes etc. I suspect changes in this area may have some unexpected side effects that may take some time to be realised/identified, so you would probably want as long a test period as possible. Tim