Gnus development mailing list
 help / color / mirror / Atom feed
* smtp credential, multiple smtp, posting styles and smtpmail
@ 2011-02-10  9:03 Richard Riley
  2011-02-10  9:20 ` Julien Danjou
  2011-02-14  2:20 ` smtp credential, multiple smtp, posting styles and smtpmail Lars Ingebrigtsen
  0 siblings, 2 replies; 11+ messages in thread
From: Richard Riley @ 2011-02-10  9:03 UTC (permalink / raw)
  To: nognus


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 ;)



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-02-14  2:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-10  9:03 smtp credential, multiple smtp, posting styles and smtpmail Richard Riley
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

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).