From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73045 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: [PATCH] sieve-manage: use auth-source Date: Wed, 13 Oct 2010 16:39:56 +0200 Message-ID: <87hbgqma0z.fsf@inria.fr> References: <1286295391-12854-1-git-send-email-julien@danjou.info> <87vd5cvgkf.fsf@lifelogs.com> <874ocw1xnb.fsf@keller.adm.naquadah.org> 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 1286980839 6307 80.91.229.12 (13 Oct 2010 14:40:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Oct 2010 14:40:39 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M21417@lists.math.uh.edu Wed Oct 13 16:40:38 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 1P62VP-0001Sw-6m for ding-account@gmane.org; Wed, 13 Oct 2010 16:40:35 +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 1P62Uz-0000Ql-Q3; Wed, 13 Oct 2010 09:40:09 -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 1P62Uy-0000QY-Dm for ding@lists.math.uh.edu; Wed, 13 Oct 2010 09:40:08 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P62Ux-0002X3-1T for ding@lists.math.uh.edu; Wed, 13 Oct 2010 09:40:08 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P62Uw-00089G-00 for ; Wed, 13 Oct 2010 16:40:06 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P62Uv-0001Gv-B1 for ding@gnus.org; Wed, 13 Oct 2010 16:40:05 +0200 Original-Received: from yoda.fdn.fr ([80.67.169.18]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Oct 2010 16:40:05 +0200 Original-Received: from ludo by yoda.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Oct 2010 16:40:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 59 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: yoda.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 =?iso-8859-1?Q?Vend=E9miaire?= an 219 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:6Q2DItHBoFX8aW7SpegxyyPgK50= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73045 Archived-At: Hello, Julien Danjou writes: > I don't use the Sieve generation from Gnus itself, I just used > sieve-manage to edit my sieve rules. Then I’m interested in your input on this. :-) ‘sieve-manage’ fails for me: --8<---------------cut here---------------start------------->8--- 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) --8<---------------cut here---------------end--------------->8--- Connecting to that server on port 2000 shows this: --8<---------------cut here---------------start------------->8--- Connected to imap.example.com. Escape character is '^]'. "IMPLEMENTATION" "dovecot" "SASL" "" "SIEVE" "comparator-i;ascii-numeric fileinto reject vacation imapflags notify include envelope body relational regex subaddress copy" "STARTTLS" "RENAME" OK "mail server - Dovecot ready." --8<---------------cut here---------------end--------------->8--- Changing ‘sieve-manage-is-string’ to look for "\"\\([^\"]*\\)\"" (‘*’ instead of ‘+’), things fail later on: --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (error "Couldn't figure out authenticator for server") signal(error ("Couldn't figure out authenticator for server")) error("Couldn't figure out authenticator for server") 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) --8<---------------cut here---------------end--------------->8--- Any idea what could go wrong or how I should proceed to debug further? It seems to be trying to use SASL, which isn’t supported by this server. (That’s with Gnus 5.13 from GNU Emacs 23.2.1.) Thanks, Ludo’.