unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Simon Campese <notmuchmail_org@campese.de>
To: notmuch@notmuchmail.org
Subject: Set "From" based on "To" when replying
Date: Sat, 21 Jan 2012 16:35:10 +0100	[thread overview]
Message-ID: <87obtx5as1.fsf@tu-dortmund.de> (raw)

Dear Community,

I've got my own domain and when registering or shopping at some website,
I always use email addresses of the form "websitename@mydomain.org", so
for example I use "amazon@mydomain.org" when shopping at amazon. The
reason for this is categorizing incoming mail on the one hand, and
immediately being able to spot the source of spam on the other hand. 

I would like to implement the following behaviour: When replying to a
mail that has "something@mydomain.org" in the "To"-header, I would like
to have the "From"-header of the reply to be automatically set to this
address. 

Is there some kind of reply-hook in notmuch where one could put an
appropriate function? 


Thank you very much for your help,

Simon

             reply	other threads:[~2012-01-21 15:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-21 15:35 Simon Campese [this message]
2012-02-02 17:26 ` Set "From" based on "To" when replying Jani Nikula
2012-02-02 17:56   ` Jameson Graef Rollins
2012-02-10 23:51     ` Simon Campese
2012-02-03 11:54 ` Tomi Ollila
2012-02-10 20:04   ` Simon Campese
2012-02-10 23:34 ` Istvan Marko

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=87obtx5as1.fsf@tu-dortmund.de \
    --to=notmuchmail_org@campese.de \
    --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).