sieveshell aborts with "expected RPAREN"

Stefan Rapp stefan.rapp at tu-dortmund.de
Wed Sep 21 08:20:36 EDT 2011


Hello,

i had problems with the Cyrus::SIEVE::managesieve package in the new
cyrus 2.4.11 code. The "better response codes for timsieved" lead to
problems in the perl package if you try to "get" an nonexistent
script:

sieveshell ...
> get nonexistant
Bad protocol from MANAGESIEVE server: expected RPARAN

The perl package expects quoted strings inside the parantheses and
these quotes are missing.

There are two possible solutions: fix the parser or put quotes
around the strings. A possible patch for timsieved using the
second alternative is appended.


Stefan

-- 
+---------------------+------------------------------------+
| Stefan Rapp         | E-Mail: stefan.rapp at tu-dortmund.de |
| TU Dortmund         | Phone:  +49 231 755 4668           |
| IT & Medien Centrum | Fax:    +49 231 755 2731           |
| D-44221 Dortmund    |                                    |
+---------------------+------------------------------------+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: actions.diff
Type: text/x-patch
Size: 3639 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/cyrus-devel/attachments/20110921/cae9c4f0/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6128 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.andrew.cmu.edu/pipermail/cyrus-devel/attachments/20110921/cae9c4f0/attachment-0001.bin 


More information about the Cyrus-devel mailing list