From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57393 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Use flim's sasl.el to authenticate to IMAP servers Date: Mon, 17 May 2004 11:02:13 +0900 Organization: Emacsen advocacy group Sender: ding-owner@lists.math.uh.edu Message-ID: References: <87ptb38opx.fsf@kloug.dyndns.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp-2 X-Trace: sea.gmane.org 1084759362 31730 80.91.224.253 (17 May 2004 02:02:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 May 2004 02:02:42 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M5933@lists.math.uh.edu Mon May 17 04:02:34 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BPXSc-0005zh-00 for ; Mon, 17 May 2004 04:02:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1BPXSW-0007a7-00; Sun, 16 May 2004 21:02:28 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BPXSR-0007Zo-00 for ding@lists.math.uh.edu; Sun, 16 May 2004 21:02:23 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BPXSQ-00012j-Di for ding@lists.math.uh.edu; Sun, 16 May 2004 21:02:22 -0500 Original-Received: from washington.hostforweb.net (washington.hostforweb.net [69.61.11.2]) by justine.libertine.org (Postfix) with ESMTP id 914343A0058 for ; Sun, 16 May 2004 21:02:21 -0500 (CDT) Original-Received: from yamaoka by washington.hostforweb.net with local (Exim 4.34) id 1BPXSQ-0001Rg-Ra; Sun, 16 May 2004 22:02:23 -0400 Original-To: Kim Minh Kaplan X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:fu5koJUKf2zxMqZSLpGPSfFJ1t8= X-Hashcash: 0:040517:kmkaplan@selfoffice.com:61630d5b8b1e3d4c X-Hashcash: 0:040517:ding@gnus.org:78a98b22bfd47c20 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [32041 32041] / [47 12] X-AntiAbuse: Sender Address Domain - washington.hostforweb.net X-Source: X-Source-Args: X-Source-Dir: Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57393 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57393 Hi, >>>>> In >>>>> Lars Magne Ingebrigtsen wrote: > Kim Minh Kaplan writes: >> I recently wanted to use other authentication mechanisms than plain >> IMAP LOGIN command. Unfortunately, I could not get hold of the file >> digest-md5.el that I needed. But I found that flim.AN9 implements a >> framework for SASL. Attached is a patch to make it work with IMAP. > Thanks for the patch; I've applied it to No Gnus v0.3 (i. e., CVS). I'm using nnml, and the IMAP connection for fetching new mails with the following mail source: (setq mail-sources '((imap :server "MAILHOST" :port 143 :password "PASSWORD" :stream starttls))) The server's response is: * OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS AUTH=LOGIN]\ MAILHOST IMAP4rev1 2001.315rh... After the recent change, Gnus requires a password whenever I get new mails, and fails to get them. :< nnml: Reading incoming mail from imap... imap: Connecting to MAILHOST... imap: Connecting with STARTTLS...done Waiting for response from MAILHOST...done imap: Authenticating to `MAILHOST' using `sasl'... imap: Authenticating using SASL... PLAIN passphrase for yamaoka: The problem is solved by modifying the imap-authenticators variable as follows: (delq 'sasl imap-authenticators) Is it always necessary to me? Or, is there any other solution? Regards, -- Katsumi Yamaoka