unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Austin Clements <amdragon@MIT.EDU>
To: David Belohrad <david@belohrad.ch>
Cc: notmuch@notmuchmail.org
Subject: Re: miraculous from: field
Date: Wed, 20 Jun 2012 15:35:53 -0400	[thread overview]
Message-ID: <20120620193553.GH24342@mit.edu> (raw)
In-Reply-To: <uaxtxy69qdz.fsf@pcbe15117.cern.ch>

Quoth David Belohrad on Jun 20 at  1:25 pm:
> 
> Dear All,
> 
> could someone give a hint?
> 
> I have an opened mail message. When I press 'r' to reply, a new mail
> buffer is opened and the 'From' field is correctly filled with
> 'david@belohrad.ch'.
> 
> When on the same message I press however 'f' to forward the message, new
> buffer opens, but this time the 'From' field contains incorrectly
> 'belohrad@bepc12494.cern.ch', which is clearly a composite of my login
> name and FQHN.
> 
> Why that difference and what can I do to mitigate this?

Try setting Emacs's user-mail-address variable, e.g., using 
  M-x customize-variable<RET>user-mail-address<RET>
You won't get the full from address guessing logic used for replies,
but it's not obvious this is appropriate for forwarding.

We should probably use the user's primary address from the notmuch
configuration for this for the sake of consistency, even though
user-mail-address is the more Emacsy thing to use.

> thanks
> 
> david

      parent reply	other threads:[~2012-06-20 19:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-20 11:25 miraculous from: field David Belohrad
2012-06-20 11:33 ` Jani Nikula
2012-06-21  3:57   ` Adam Wolfe Gordon
2013-05-08 20:00     ` Amadeusz Żołnowski
2012-06-20 19:35 ` Austin Clements [this message]

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

  List information: https://notmuchmail.org/

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

  git send-email \
    --in-reply-to=20120620193553.GH24342@mit.edu \
    --to=amdragon@mit.edu \
    --cc=david@belohrad.ch \
    --cc=notmuch@notmuchmail.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 public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).