|
From: Hanspeter K. <hk...@if...> - 2008-04-16 10:53:56
|
Hi all, I'm using avelsieve-1.9.7 (including managesieve.lib.php-1.7) together with dovecot-1.0.13 (on debian). Creating/modifying/storing scripts is working. The problem is, that after logging out and in again, the scripts can not be retrieved from the server. Apparently, after sending "LISTSCRIPTS" dovecots managesieve implementation returns "IMPLEMENTATION" "dovecot" as first line. This breaks the logic of the get_response function. An easy workaround for me was to put an additional sieve::get_response() statement in sieve_listscripts(). The first get_response consumes the "IMPLEMENTATION" "dovecot" the second processes the list of scripts, as intended. After that, everything worked fine for me. Of course this workaround will not work together with other managesieve implementations. I guess, dovecots behaviour would have to be incorporated into the get_response function. I'm happy to help, if someone is willing to do that (I currently lack the time to do this myself). cheers, Hanspeter -- Hanspeter Kunz University of Zurich Systems Administrator Department of Information Technology Email: hk...@if... Binzmühlestrasse 14 Tel: +41.(0)44.63-56714 Office 2.E.07 http://www.ifi.uzh.ch CH-8050 Zurich, Switzerland Spamtraps: hku...@ai... hku...@if... --- All that glitters is not gold; all that wander are not lost. |