help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnus not using authinfo


From: Ted Zlatanov
Subject: Re: Gnus not using authinfo
Date: Wed, 09 Mar 2011 13:28:20 -0600
User-agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux)

On Wed, 09 Mar 2011 13:51:23 -0500 Joel James Adamson <adamsonj@email.unc.edu> 
wrote: 

JJA> adamsonj@email.unc.edu (Joel J. Adamson) writes:
>> Ted Zlatanov <tzz@lifelogs.com> writes:
>> 
>>> In general I'd say please use the latest Gnus even if you can't use the
>>> latest Emacs.  That has the latest auth-source.el as well.  It's quite
>>> easy to just upgrade Gnus and there's been a LOT of improvements in Gnus
>>> since 23.2.
>> 
>> I can tell: my main reason for using Emacs from Bazaar was that Gnus'
>> IMAP handling had improved so much.  I will respond to the rest of your
>> message later,

JJA> Here are the *Messages* with auth-source-debug set to t:

JJA> imap: Connecting with STARTTLS...done
JJA> Waiting for response from imap.unc.edu...done
JJA> Parsing authinfo file `~/.authinfo'.
JJA> auth-source-user-or-password: get (login password) for UNC (143)
JJA> /home/joel/.authinfo: 0% (0/114)
JJA> /home/joel/.authinfo: 100% (114/114)
JJA> auth-source-user-or-password: found (login password)=SECRET for UNC (143)
JJA> imap: Authenticating to `imap.unc.edu' using `login'...
JJA> imap: Plaintext authentication...
JJA> imap: Login successful...
JJA> imap: Authenticating to `imap.unc.edu' using `login'...done

JJA> And here's the authinfo file:

JJA> machine imap.unc.edu login adamsonj password SECRET port imap 
JJA> machine smtp.unc.edu login adamsonj password SECRET port 587

You need to make the port "143" instead of "imap" (no quotes).  It may
also work to omit the port, I don't remember.

Yes, that's not nice.  `auth-source-search' in the newer auth-source.el
is more capable.

Ted


reply via email to

[Prev in Thread] Current Thread [Next in Thread]