all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: phillip.lord@russet.org.uk (Phillip Lord)
To: Lars Magne Ingebrigtsen <lmi@gnus.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Gnus Agent and From address of email
Date: Tue, 23 Feb 2016 12:58:18 +0000	[thread overview]
Message-ID: <87h9gz4m8l.fsf@russet.org.uk> (raw)
In-Reply-To: <8760xgw6m4.fsf@gnus.org> (Lars Magne Ingebrigtsen's message of "Tue, 23 Feb 2016 12:36:03 +1100")

Lars Magne Ingebrigtsen <lmi@gnus.org> writes:

> 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?


I've done this, and the from field appears to be set correctly both
inside and outside of the agent. So I've checked the behaviour again
with the agent. It looks like I may have been confused by the log
messages from msmtp, and that gnus is actually doing the right thing.

Oops, sorry for time waste!

Phil



  reply	other threads:[~2016-02-23 12:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5361.1456160177.843.help-gnu-emacs@gnu.org>
2016-02-23  1:36 ` Gnus Agent and From address of email Lars Magne Ingebrigtsen
2016-02-23 12:58   ` Phillip Lord [this message]
2016-02-22 16:56 Phillip Lord

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h9gz4m8l.fsf@russet.org.uk \
    --to=phillip.lord@russet.org.uk \
    --cc=help-gnu-emacs@gnu.org \
    --cc=lmi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.