From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.help Subject: Re: Gnus not using authinfo Date: Wed, 09 Mar 2011 13:28:20 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87bp1knlez.fsf@lifelogs.com> References: <87ipvsqq5o.fsf@lifelogs.com> <87zkp4npla.fsf@email.unc.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1299699636 23919 80.91.229.12 (9 Mar 2011 19:40:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Mar 2011 19:40:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 09 20:40:32 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PxPFD-0001pt-On for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Mar 2011 20:40:27 +0100 Original-Received: from localhost ([127.0.0.1]:51475 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxPFD-00023D-9I for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Mar 2011 14:40:27 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!news2.euro.net!news.mixmin.net!news.albasani.net!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-X-Trace: news.albasani.net j5pbHjbyPicbaBI00XsvBp5lhg/FaQRNZ2gXr3l6w6+yL7baVZfErVFtirfxTQubB+d1G7Ub7UbXiP/fBVA88A== Original-NNTP-Posting-Date: Wed, 9 Mar 2011 19:28:20 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="9Q+K+qT4K2S1ltbokuJ4Zt2QhTwM/hXbnKFPjCDnCTLs4YmCU5UU/gnpLTQlYx2VKg3x2Zti6Qz6Yc7RU3LzbhezCEkQZr6vGlKhOd21FzvAmkxtSfL8h1u4V8qj17AJ"; mail-complaints-to="abuse@albasani.net" User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Cancel-Lock: sha1:qrycIggUkaRQTmCJAUmtmP1vVsg= sha1:XYvx051h7dDPn300ZOfmOZtaS1Y= Original-Xref: usenet.stanford.edu gnu.emacs.help:185777 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:79928 Archived-At: On Wed, 09 Mar 2011 13:51:23 -0500 Joel James Adamson wrote: JJA> adamsonj@email.unc.edu (Joel J. Adamson) writes: >> Ted Zlatanov 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