From: Reiner Steib <reinersteib+gmane@imap.cc>
To: Jason Rumney <jasonr@gnu.org>
Cc: ding@gnus.org, Simon Josefsson <simon@josefsson.org>, bugs@gnus.org
Subject: Re: Sieve gets in infinite loop
Date: Sat, 21 Nov 2009 20:31:23 +0100 [thread overview]
Message-ID: <87vdh3k73o.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <87ws1msdgx.fsf@wanchan.jasonrumney.net> (Jason Rumney's message of "Fri, 20 Nov 2009 00:09:50 +0800")
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/
next parent reply other threads:[~2009-11-21 19:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87ws1msdgx.fsf@wanchan.jasonrumney.net>
2009-11-21 19:31 ` Reiner Steib [this message]
2010-01-08 15:48 ` Jason Rumney
2010-01-08 15:56 ` Simon Josefsson
2010-01-08 16:39 ` Jason Rumney
2010-01-08 18:56 ` Simon Josefsson
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=87vdh3k73o.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+gmane@imap.cc \
--cc=Reiner.Steib@gmx.de \
--cc=bugs@gnus.org \
--cc=ding@gnus.org \
--cc=jasonr@gnu.org \
--cc=simon@josefsson.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).