Gnus development mailing list
 help / color / mirror / Atom feed
From: Richard Riley <rileyrg@googlemail.com>
To: nognus <ding@gnus.org>
Subject: smtp credential, multiple smtp, posting styles and smtpmail
Date: Thu, 10 Feb 2011 10:03:22 +0100	[thread overview]
Message-ID: <a2tygcgtex.fsf@news.eternal-september.org> (raw)


Does someone have a way of extracting/setting the correct credentials
for smtp posting based on the contents of .authinfo.gpg when using
gnus-posting-styles?

The problem with msmtp is that the data is in cleartext.

The issue with smtpmail-auth-credentials is that I dont think it can easily be used
with the "logical" machine name in the authinfo.gpg e.g

  (add-to-list 'gnus-secondary-select-methods '(nnimap "riley"
                                    (nnimap-address "imap.gmail.com")
                                    (nnimap-server-port 993)
                                    (nnimap-stream ssl)))

Here the authinfo "machine" is "riley". 

I'm guessing the best and easiest way is to put my gnus-posting-styles all in
a gpg file and hardcode the smtp server and id/password in them. Anyone
out there already done this? It certainly seems the easiest if
possible. I just need to try and figure out which gnus variables are
used.

Another solution, that might even exist, would be for a server select
method to have the associated outgoing smtp server name as a parameter
and assume the same access credentials as when reading mail on that
server. Again, can I already do this?

Ideally I'm trying to avoid juggling which smtp server based on using
"from" hacks from around the web and just set access data directly using
the gnus posting style.

Googling around leaves me a tad jaded - so many options and so complex
at times ;)



             reply	other threads:[~2011-02-10  9:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-10  9:03 Richard Riley [this message]
2011-02-10  9:20 ` Julien Danjou
2011-02-10  9:36   ` Richard Riley
2011-02-10 11:33     ` Philipp Haselwarter
2011-02-10 11:58       ` Richard Riley
2011-02-10 23:19         ` Philipp Haselwarter
2011-02-10 23:45           ` Richard Riley
2011-02-11 14:06             ` Ted Zlatanov
2011-02-10 23:15       ` Richard Riley
     [not found]   ` <ygfd3n0nrpj.fsf_-_@vserv.viteno.net>
     [not found]     ` <87y65ouqa5.fsf@keller.adm.naquadah.org>
2011-02-10 11:21       ` Your public key Norbert Koch
2011-02-14  2:20 ` smtp credential, multiple smtp, posting styles and smtpmail Lars Ingebrigtsen

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=a2tygcgtex.fsf@news.eternal-september.org \
    --to=rileyrg@googlemail.com \
    --cc=ding@gnus.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).