From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: zwz <zhangweize@gmail.com>
Cc: gnus mailing list <ding@gnus.org>
Subject: Re: settings for multiple smtp accounts
Date: Tue, 04 Oct 2011 17:02:50 +0100 [thread overview]
Message-ID: <87ehysrbh1.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87d3ecdg5n.fsf@gmail.com> (zwz's message of "Tue, 04 Oct 2011 21:45:24 +0800")
zwz <zhangweize@gmail.com> writes:
> There has been a good setting for multiple smtp accounts on emacswiki.
> However, it has to list the email accounts literally, which is not
> convenient for config-sharing with good privacy protection.
>
> Since all the smtp accounts are listed in .authinfo.gpg, I wonder if it
> is possible to set up multiple smtp accounts so that it can infer the
> right smtp server and port, from the "from" part of the email and
> .authinfo.gpg directly.
Indeed it is possible. Look at gnus-posting-styles and set the address
field.
--
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 + No Gnus v0.18
next prev parent reply other threads:[~2011-10-04 16:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-04 13:45 zwz
2011-10-04 16:02 ` Eric S Fraga [this message]
2011-10-06 6:40 ` zwz
2011-10-06 16:41 ` Sivaram Neelakantan
2011-10-07 7:36 ` zwz
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=87ehysrbh1.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=ding@gnus.org \
--cc=zhangweize@gmail.com \
/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).