From: "Alexandre Russel" <scandrou@hpo.net>
Subject: Re: Gnus: using different e-mail addresses for different groups
Date: 22 Oct 2004 01:30:49 +0900 [thread overview]
Message-ID: <m365543ufa.fsf@localhost.localdomain> (raw)
In-Reply-To: usm88xf6u.fsf@hotmail.com
> Can I train Emacs to use a different e-mail address for
> different groups?
What I use doesn't work on group but on identity:
First define identity:
(setq gnus-alias-identity-alist
'(("firstIdentity" "" "\"My self\" <bob@hotmail.com>" "" nil "" "")
("secondIdentity" "" "\"My self\" <bob@workmail.com>" "" nil "" "")))
Now that you set up 2 identities, you can ask gnus to use one depending of the header.
At my work everybody will use a workmail.com address so I can ask to send all the
mail for a workmail.com address with the second identity:
(setq gnus-alias-identity-rules
'(("send mails to anyone at workmail with secondIdentity" ("To" ".*workmail.*" current) "secondIdentity")))
It probably can be improve a lot but has been working for me.
And gnu.emacs.gnus would probably give you much better information.
Alex
prev parent reply other threads:[~2004-10-21 16:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-21 15:29 Gnus: using different e-mail addresses for different groups Mathias Dahl
2004-10-21 16:00 ` Sebastien Kirche
2004-10-22 8:36 ` Mathias Dahl
2004-10-21 16:02 ` Sebastien Kirche
2004-10-21 16:26 ` Tassilo Horn
2004-10-21 16:30 ` Alexandre Russel [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://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m365543ufa.fsf@localhost.localdomain \
--to=scandrou@hpo.net \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).