[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using passwords in authinfo.pgp?
From: |
Ted Zlatanov |
Subject: |
Re: Using passwords in authinfo.pgp? |
Date: |
Thu, 20 Aug 2009 16:39:19 -0500 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) |
On Sun, 16 Aug 2009 16:37:49 +0200 Merciadri Luca
<Luca.Merciadri@student.ulg.ac.be> wrote:
ML> When starting Gnus, it prompts my different passwords for my
ML> mailboxes, but never for my news server. However, this news server
ML> needs an authentification.
ML> I have crypted my .authinfo file (resulting in .authinfo.gpg, a
ML> crypted .authinfo), and one part of my .gnus file is
ML> (setq nntp-authinfo-file ".authinfo.gpg")
ML> (setq smtpmail-auth-credentials ".authinfo.gpg")
ML> It should be thus read, shouldn't it?
ML> Gnus seems to look in .authinfo.gpg for nntp authentification, but not
ML> for my nnml one. Why? I added
ML> (setq mail-source-authinfo-file "~/.authinfo.gpg")
ML> but it seems to be deprecated.
ML> Any idea?
Use auth-source.el. nntp-authinfo-file and smtpmail-auth-credentials
should not be necessary either, assuming a recent version of Emacs and
Gnus. Look at auth.info for details (btw, I know it needs work).
Ted