From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69206 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: Sieve gets in infinite loop Date: Sat, 21 Nov 2009 20:31:23 +0100 Message-ID: <87vdh3k73o.fsf@marauder.physik.uni-ulm.de> References: <87ws1msdgx.fsf@wanchan.jasonrumney.net> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258836682 10785 80.91.229.12 (21 Nov 2009 20:51:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Nov 2009 20:51:22 +0000 (UTC) Cc: ding@gnus.org, Simon Josefsson , bugs@gnus.org To: Jason Rumney Original-X-From: ding-owner+M17614@lists.math.uh.edu Sat Nov 21 21:51:12 2009 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.50) id 1NBwuv-0004jq-1u for ding-account@gmane.org; Sat, 21 Nov 2009 21:50:49 +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 1NBwut-0000F5-Ef; Sat, 21 Nov 2009 14:50:47 -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 1NBwuq-0000DR-Hq for ding@lists.math.uh.edu; Sat, 21 Nov 2009 14:50:44 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1NBwuo-0002pH-CP for ding@lists.math.uh.edu; Sat, 21 Nov 2009 14:50:44 -0600 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1NBwun-0001BZ-00; Sat, 21 Nov 2009 21:50:41 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.175]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id nALJVPtl011567; Sat, 21 Nov 2009 20:31:25 +0100 (MET) Original-Received: from localhost (localhost [127.0.0.1]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 15CAF1D159; Sat, 21 Nov 2009 20:31:25 +0100 (CET) X-Face: mtjf/D:es1T0wHO:&CJ'ZXe"l;3C--rw\z!{`eFwL){|]RpI+4{u25L=5C /0>KuGeTsk<~<&NE-AKV1560e!+RJeyWmSskkrJm?[vUV#66{T_m|Ae<||Ku#Mk5`y&O`n~z2;n8eP J5#2h@2eQgV@E70IY_0WlEx!"&giy{+\%h1LJox$zv@/l%ZmU4^tZA>xQpnkUBVC5.jpg#0'(+2?Rs )NAr:>3<=WxHE$ktbLysDIM5TbmHu*3, ding@gnus.org, Simon Josefsson In-Reply-To: <87ws1msdgx.fsf@wanchan.jasonrumney.net> (Jason Rumney's message of "Fri, 20 Nov 2009 00:09:50 +0800") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) X-DCC-CollegeOfNewCaledonia-Metrics: poseidon 1189; Body=4 Fuz1=4 Fuz2=4 X-Virus-Scanned: by amavisd-new X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69206 Archived-At: On Thu, Nov 19 2009, Jason Rumney wrote: > Gnus v5.13 > GNU Emacs 23.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.18.3) > of 2009-11-18 on wanchan.jasonrumney.net > > Attempting to upload my sieve script to a Dovecot server results in an > infinite loop in sieve-manage-network-open. > > The cause is the test for the OK line in sieve-manage-parse-capability-1: > > (when (re-search-forward (concat "^OK" sieve-manage-server-eol) nil t) > (setq sieve-manage-state 'nonauth))) > > My server sends the following non-matching line: > > OK "Dovecot ready." I know next to nothing about sieve, but AFAICS, you (and your server) are right. Feel free to adjust sieve-manage-parse-capability-1 as needed. ,----[ http://tools.ietf.org/html/draft-ietf-sieve-managesieve-09 ] | 1.3. Syntax | | [...] | | Each command consists of an atom (the command name) followed by zero | or more strings and numbers terminated by CRLF. | | All client queries are replied to with either an OK, NO, or BYE | response. Each response may be followed by a response code (see | Section 1.4) and by a string consisting of human readable text in the | local language (as returned by the LANGUAGE capability, see | Section 1.8), encoded in [UTF-8]. The contents of the string SHOULD | be shown to the user and implementations MUST NOT attempt to parse | the message for meaning. | `---- Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/