Gnus development mailing list
 help / color / mirror / Atom feed
* pop3 password from ~/.authinfo
@ 2007-03-23 21:38 Reiner Steib
  0 siblings, 0 replies; only message in thread
From: Reiner Steib @ 2007-03-23 21:38 UTC (permalink / raw)
  To: ding

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/




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-23 21:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-23 21:38 pop3 password from ~/.authinfo Reiner Steib

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