From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73046 Path: news.gmane.org!not-for-mail From: Julien Danjou Newsgroups: gmane.emacs.gnus.general Subject: Re: [PATCH] sieve-manage: use auth-source Date: Wed, 13 Oct 2010 16:44:43 +0200 Message-ID: References: <1286295391-12854-1-git-send-email-julien@danjou.info> <87vd5cvgkf.fsf@lifelogs.com> <874ocw1xnb.fsf@keller.adm.naquadah.org> <87hbgqma0z.fsf@inria.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1286981094 7620 80.91.229.12 (13 Oct 2010 14:44:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Oct 2010 14:44:54 +0000 (UTC) Cc: ding@gnus.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: ding-owner+M21418=ding+2Daccount=gmane.org@lists.math.uh.edu Wed Oct 13 16:44:52 2010 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 1P62ZX-0003HU-Gm for ding-account@gmane.org; Wed, 13 Oct 2010 16:44:51 +0200 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 1P62ZU-0000Tg-FP for ding-account@gmane.org; Wed, 13 Oct 2010 09:44:48 -0500 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 1P62ZT-0000Tb-CX for ding@lists.math.uh.edu; Wed, 13 Oct 2010 09:44:47 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P62ZR-0002Yx-KW for ding@lists.math.uh.edu; Wed, 13 Oct 2010 09:44:46 -0500 Original-Received: from coquelicot-s.easter-eggs.com ([213.215.37.94]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P62ZQ-0008Cq-00 for ; Wed, 13 Oct 2010 16:44:44 +0200 Original-Received: from cigue.easter-eggs.fr (cigue.easter-eggs.fr [10.0.0.33]) by rose.easter-eggs.fr (Postfix) with ESMTPS id 1C2A71428A; Wed, 13 Oct 2010 16:44:40 +0200 (CEST) Original-Received: from jdanjou by cigue.easter-eggs.fr with local (Exim 4.72) (envelope-from ) id 1P62ZP-0001QK-Ey; Wed, 13 Oct 2010 16:44:43 +0200 Mail-Followup-To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=), ding@gnus.org In-Reply-To: <87hbgqma0z.fsf@inria.fr> ("Ludovic =?utf-8?Q?Court=C3=A8s=22?= =?utf-8?Q?'s?= message of "Wed, 13 Oct 2010 16:39:56 +0200") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73046 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed, Oct 13 2010, Ludovic Court=C3=A8s wrote: > =E2=80=98sieve-manage=E2=80=99 fails for me: > > Debugger entered--Lisp error: (wrong-type-argument stringp nil) > string-match("DIGEST-MD5" nil) > sieve-manage-capability("SASL" "DIGEST-MD5" " *sieve* imap.example.com:= 2000") > sieve-manage-digest-md5-p(" *sieve* imap.example.com:2000") > sieve-manage-open("imap.example.com") > sieve-open-server("imap.example.com" nil) > sieve-manage("imap.example.com") > call-interactively(sieve-manage t nil) > execute-extended-command(nil) > call-interactively(execute-extended-command nil nil) I've fixed that bug recently. But maybe you use an older version. > Connecting to that server on port 2000 shows this: > > Connected to imap.example.com. > Escape character is '^]'. > "IMPLEMENTATION" "dovecot" > "SASL" "" This is not valid. The server is saying there's no way to SASL method to authenticate with. > Any idea what could go wrong or how I should proceed to debug further? > It seems to be trying to use SASL, which isn=E2=80=99t supported by this = server. Just put: disable_plaintext_auth =3D no in dovecot.conf. It will then tells you: "SASL" "PLAIN" And things will work. You can also put other authentification mechanisms such as CRAM-MD5, etc, in auth default { mechanisms =3D =E2=80=A6 } in dovecot.conf. I did no= t had the time to play with that yet however, but it should also work with sieve-manage. =2D-=20 Julien Danjou // =E1=90=B0 http://julien.danjou.info --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAky1xdsACgkQpGK1HsL+5c0wiACeN/I7QhwGq4dOT6Un4ovD1aTn dUsAnjnoMVyZkCTTb6Ur4/iiFbccvXQN =flPG -----END PGP SIGNATURE----- --=-=-=--