From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75666 Path: news.gmane.org!not-for-mail From: egallego@babel.ls.fi.upm.es (Emilio =?utf-8?Q?Jes=C3=BAs?= Gallego Arias) Newsgroups: gmane.emacs.gnus.general Subject: Re: [BUG] Prefer AUTH=CRAM-MD5 makes login fail in some IMAP servers. Date: Tue, 11 Jan 2011 22:52:09 +0100 Organization: TKE Message-ID: <87hbdfw1km.fsf@babel.ls.fi.upm.es> References: <871v4ktya0.fsf@babel.ls.fi.upm.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1294782782 24222 80.91.229.12 (11 Jan 2011 21:53:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 11 Jan 2011 21:53:02 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M24017@lists.math.uh.edu Tue Jan 11 22:52:58 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pcm99-0004wi-2Q for ding-account@gmane.org; Tue, 11 Jan 2011 22:52:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Pcm8m-00007d-RB; Tue, 11 Jan 2011 15:52:32 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Pcm8l-00007Y-Rm for ding@lists.math.uh.edu; Tue, 11 Jan 2011 15:52:31 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Pcm8g-0007V7-Tg for ding@lists.math.uh.edu; Tue, 11 Jan 2011 15:52:31 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Pcm8e-00071v-NA for ding@gnus.org; Tue, 11 Jan 2011 22:52:24 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pcm8e-0004ga-6H for ding@gnus.org; Tue, 11 Jan 2011 22:52:24 +0100 Original-Received: from 1.red-83-34-10.dynamicip.rima-tde.net ([83.34.10.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Jan 2011 22:52:24 +0100 Original-Received: from egallego by 1.red-83-34-10.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Jan 2011 22:52:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 40 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 1.red-83-34-10.dynamicip.rima-tde.net X-Url: https://babel.ls.fi.upm.es/~egallego/ User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:5VIDakhQd+SPel1yrChEqK4wU8w= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75666 Archived-At: Lars Magne Ingebrigtsen writes: > egallego@babel.ls.fi.upm.es (Emilio Jesús Gallego Arias) writes: > >> 19:08:12 (nnimap "server" (nnimap-address "server.com") (nnimap-stream network)) >> >> 19:08:15 7 AUTHENTICATE CRAM-MD5 >> 19:08:22 29 EXAMINE "Spam" > > Are these lines from the *nnimap log* buffer? The first line there > looks awfully odd. The first line is part of the *gnus trace* buffer, I thought that would be useful. The *nnimap log* is difficult to make sense as I'm not able to disable my other imap servers :( Anyways I edebugged imap-login and got the exact message the server is respoding. I guess the server is some sort of netscape one, The greeting sequence is: * OK IMAP4 PROXY server ready 1 CAPABILITY * CAPABILITY IMAP4 IMAP4rev1 UIDPLUS IDLE LOGIN-REFERRALS NAMESPACE QUOTA CHILDREN SORT AUTH=CRAM-MD5 1 OK capabilities listed 2 LOGOUT * BYE disconnecting 2 OK LOGOUT complete Then gnus tries to perform CRAM-MD5 and it fails: + PDAwNjU...bS5jb3JyZW8+ 2527 NO ERROR 119 invalid user or password err 30 Let me know what can I do, if I have time I'll have a look to the CRAM-MD5 RFC. Regards and thanks, Emilio