Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: info-gnus-english@gnu.org
Subject: Default domain in outgoing email?
Date: Fri, 28 Sep 2007 21:53:02 -0400	[thread overview]
Message-ID: <jwvsl4yxmwq.fsf-monnier+gnu.emacs.gnus@gnu.org> (raw)


A lot of the email messages I send go to addresses @iro.umontreal.ca.
And when I send them from my office machine, this address is automatically
added by the `postfix' mailer.  But from my home machine, this is not the
case (for various reasons it is not practical to change my `postfix' mailer
to do this rewrite on those machines).

So, I'd like to add this domain automatically directly from Gnus.  I looked
briefly at message.el but couldn't find any configuration for this feature.
So do I need to write some elisp code for it?

If so, can someone tell where to start?  Which hook would be best and what
functions could I use to loop through the relevant header field(s) and what
functions can I use to loop through each email address on each header field?


        Stefan

                 reply	other threads:[~2007-09-29  1:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=jwvsl4yxmwq.fsf-monnier+gnu.emacs.gnus@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=info-gnus-english@gnu.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.
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 NNTP newsgroup(s).