Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: ding@gnus.org
Subject: Re: Use flim's sasl.el to authenticate to IMAP servers
Date: Mon, 17 May 2004 11:02:13 +0900	[thread overview]
Message-ID: <b9yhduf3j6i.fsf@jpl.org> (raw)
In-Reply-To: <m3zn88e9fg.fsf@quimbies.gnus.org>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=iso-2022-jp-2, Size: 1453 bytes --]

Hi,

>>>>> In <m3zn88e9fg.fsf@quimbies.gnus.org>
>>>>>	Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

> Kim Minh Kaplan <kmkaplan@selfoffice.com> 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^[.A^[N9 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 <yamaoka@jpl.org>



  reply	other threads:[~2004-05-17  2:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-23 17:20 Kim Minh Kaplan
2004-05-16 14:25 ` Lars Magne Ingebrigtsen
2004-05-17  2:02   ` Katsumi Yamaoka [this message]
2004-05-17 12:36     ` Lars Magne Ingebrigtsen
2004-05-17 12:38       ` Katsumi Yamaoka
2004-05-17 13:49         ` ~/.authinfo is now ignored for nnimap (was: Use flim's sasl.el to authenticate to IMAP servers) Ted Zlatanov
2004-05-17 15:11           ` ~/.authinfo is now ignored for nnimap Lars Magne Ingebrigtsen
2004-05-17 15:11             ` Ted Zlatanov
2004-05-17  8:00   ` Use flim's sasl.el to authenticate to IMAP servers anti

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=b9yhduf3j6i.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ding@gnus.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).