From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.help Subject: Re: Gnus Agent and From address of email Date: Tue, 23 Feb 2016 12:36:03 +1100 Message-ID: <8760xgw6m4.fsf@gnus.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1456191430 17795 80.91.229.3 (23 Feb 2016 01:37:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Feb 2016 01:37:10 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: phillip.lord@russet.org.uk (Phillip Lord) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 23 02:37:00 2016 Return-path: Envelope-to: geh-help-gnu-emacs@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 1aY1uN-0006we-V5 for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Feb 2016 02:37:00 +0100 Original-Received: from localhost ([::1]:53103 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY1uF-0008Jc-9s for geh-help-gnu-emacs@m.gmane.org; Mon, 22 Feb 2016 20:36:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56250) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY1u3-0008JI-IX for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 20:36:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aY1u0-0002Pp-S9 for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 20:36:39 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:60724) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY1u0-0002MZ-LL for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 20:36:36 -0500 Original-Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aY1tX-0004Jz-OW; Tue, 23 Feb 2016 02:36:08 +0100 In-Reply-To: (Phillip Lord's message of "Mon, 22 Feb 2016 16:56:05 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aY1tX-0004Jz-OW MailScanner-NULL-Check: 1456796168.54877@7/N3D9fM09AR4hXWp2xhTg X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:109262 Archived-At: phillip.lord@russet.org.uk (Phillip Lord) writes: > I change the "from" address for my email a lot. One problem is that when > using gnus agent, this does not appear to work -- that is the from field > is set to whatever user-mail-address is configured to at the time that > the queue is sent, NOT at the time that the email was sent (to the > queue). This makes offline email less useful as I can only send email > messages with one from field at a time. Hm... looking at the code, I can't see any place where it removes From: headers when sending the Agent queue, but I haven't actually tested it, so I may be missing something. Could you try `M-x debug-on-entry RET message-send-and-exit', try to send something, and then go to the sending buffer to see what's in that? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no