From: Richard Riley <rileyrg@googlemail.com>
To: nognus <ding@gnus.org>
Subject: Re: smtp credential, multiple smtp, posting styles and smtpmail
Date: Thu, 10 Feb 2011 10:36:11 +0100 [thread overview]
Message-ID: <ved3n0fd8a.fsf@news.eternal-september.org> (raw)
In-Reply-To: <87ipwsw8j9.fsf@keller.adm.naquadah.org> (Julien Danjou's message of "Thu, 10 Feb 2011 10:20:10 +0100")
Julien Danjou <julien@danjou.info> writes:
> On Thu, Feb 10 2011, Richard Riley wrote:
>
>> 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?
>
> You should not need that. smtp should use credentials based on
> .authinfo.gpg using auth-source. Otherwise it's almost a bug. :)
But it is needed for multiple smtp servers. Hence all the "select smtp
server at message send" hacks.
I already use a gpg file (.authinfo.gpg) .
Also there is the issue, which I mentioned, of logical names used in
select methods - there is no smtp server or real server set in the
.authinfo file - its done in the select method.
e.g I thought something like this in my "secret.gpg"
,----
| (setq gnus-posting-styles `((".*"
| (from "Richard Riley <rileyrg@googlemail.com>")
| (eval(setq gnushush-user-agent-header (quote real)))
| (signature-file "~/.emacs.d/.sigs/rgr.sig")
| (eval (setq mml2015-signers '("AB23BE58")))
| (eval (setq smtpmail-auth-credentials '(("smtp.gmail.com" 25 "rileyrg@googlemail.com" "******"))))
| ;;(eval (setq message-sendmail-extra-arguments '("-a" "riley")))
| (organization "aich tea tea pea dicky riley dot net"))))
`----
note the setting of smtpmail-auth-credentials. (and the commented out
"extra args" previously used for msmtp)
Or? (Its quite possibly I'm doing the dying fly dance here ;))
next prev parent reply other threads:[~2011-02-10 9:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-10 9:03 Richard Riley
2011-02-10 9:20 ` Julien Danjou
2011-02-10 9:36 ` Richard Riley [this message]
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=ved3n0fd8a.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).