all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Gnus not using authinfo
Date: Wed, 09 Mar 2011 13:28:20 -0600	[thread overview]
Message-ID: <87bp1knlez.fsf@lifelogs.com> (raw)
In-Reply-To: mailman.1.1299696694.13037.help-gnu-emacs@gnu.org

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


  parent reply	other threads:[~2011-03-09 19:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.21.1299629176.21372.help-gnu-emacs@gnu.org>
2011-03-09 15:17 ` Gnus not using authinfo Ted Zlatanov
2011-03-09 17:58   ` Joel J. Adamson
2011-03-09 18:51     ` Joel James Adamson
     [not found]     ` <mailman.1.1299696694.13037.help-gnu-emacs@gnu.org>
2011-03-09 19:28       ` Ted Zlatanov [this message]
2011-03-09 19:46         ` Joel James Adamson
2011-03-08 19:26 Joel James Adamson

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=87bp1knlez.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=help-gnu-emacs@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.