Ted Zlatanov <[email protected]> writes: > On Thu, 14 Jan 2010 01:19:38 +0100 Richard Riley <[email protected]> > wrote: > > RR> Ted Zlatanov <[email protected]> writes: >>> On Wed, 06 Jan 2010 01:42:48 +0100 Richard Riley <[email protected]> >>> wrote: >>> > RR> Ted Zlatanov <[email protected]> writes: >>>>> Let's debug it. Run the following in a clean (emacs -q) instance: >>>>> >>>>> (require 'epa-file) >>>>> (require 'auth-source) >>>>> (require 'cl) >>>>> (epa-file-enable) >>>>> (setq auth-source-debug t ; use `message' to log messages >>>>> epa-file-cache-passphrase-for-symmetric-encryption t >>>>> auth-sources '((:source "~/.authinfo.gpg" :host t :protocol t))) >>>>> (auth-source-user-or-password "login" "richardriley.net" "imap") >>>>> >>>>> What does the last call return (should be your login name)? What's in >>>>> *Messages*? >>> > RR> It returns my login name ok. >>> > RR> *Messages* just has >>> > RR> auth-source-user-or-password: found (login)=(shamrock) for > richardriley.net (imap) > RR> "shamrock" >>> > RR> I also got prompted for a symmetric password to unlock the authinfo.gpg >>> > RR> Note that my login name for the remote host is, in this case, the same > RR> as my local login id. >>> >>> If this works, it should work for all other IMAP cases as well. Look at >>> nnimap.el, it has the same call in nnimap-open-connection. Can you try >>> the auth-source-user-or-password call inside your regular sessions >>> (instead of `emacs -q'), where auth-source.el doesn't work for you? Is >>> there something you see that might hint what the problem is? >>> >>> Ted > > RR> The issue was with nntp selects not other IMAPS as recall. > > Can you try the call with "nntp" as the protocol and the right host name? > > Ted
It returns nil. -- Google Talk : [email protected] http://www.google.com/talk _______________________________________________ info-gnus-english mailing list [email protected] http://lists.gnu.org/mailman/listinfo/info-gnus-english
