From: Reiner Steib <reinersteib+gmane@imap.cc>
To: ding@gnus.org
Subject: pop3 password from ~/.authinfo
Date: Fri, 23 Mar 2007 22:38:46 +0100 [thread overview]
Message-ID: <v9r6rffxnd.fsf@marauder.physik.uni-ulm.de> (raw)
Hi,
there's code from Kai Großjohann to pt POP3 passwords in ~/.authinfo:
<http://search.gmane.org/?query=gnus%20authinfo%20pop&group=gmane.emacs.gnus.*>
,----[ <news:86vfcvxdzh.fsf@ketchup.de.uu.net> ]
| (setq mail-sources `(... (pop :server "foo" :user "bar"
| :passwd ,(pw-from-authinfo)) ...))
|
| (defun pw-from-authinfo ()
| [...]
`----
,----[ http://thread.gmane.org/gmane.emacs.gnus.user/8170/focus=8194 ]
| (defun pw-from-authinfo (popserver)
| (require 'nntp)
| (let* ((x (netrc-parse nntp-authinfo-file))
| (item (netrc-machine x popserver))
| (pw (netrc-get item "password")))
| pw))
`----
People asked why this is not included in Gnus proper. Could anyone
using POP3 check the code an include (and document) it if it's good?
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
reply other threads:[~2007-03-23 21:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=v9r6rffxnd.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+gmane@imap.cc \
--cc=Reiner.Steib@gmx.de \
--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).