[Dovecot] MANAGESIEVE patch v4 for dovecot 1.0.rc28 / problems

Stephan Bosch sirius at drunksnipers.com
Sun Apr 8 19:48:12 EEST 2007

Stephan Bosch wrote:
> This script states:
> require [""];
> This is not valid sieve to my knowledge and it doesn't serve any useful 
> purpose: there is no empty sieve extension, so this seems to be a bug in 
> avelsieve. Lib-CMUSieve correctly reports an error.
> Btw, I tested avelsieve myself as well (to test yet another sieve 
> client), but it also caused a syntax error:
> NO "line 6: syntax error, unexpected ']', expecting STRING"
> I don't yet know what caused this, but I intend to find out as soon as I 
> get to sniff the TCP communication properly.
Found it. Avelsieve incorrectly assumes the SIEVE capabilities to be 
listed in lowercase. Dovecot-managesieve lists them in uppercase.

I have written a small patch to avelsieve 1.9.7 (devel branch):


Just apply in the avelsieve directory with -p1. Keep in mind that this 
only fixes the managesieve.lib.php backend. If you use the PEAR version, 
I don't know whether this bug exists at all. This bug also exists in 
avelsieve 1.0.1, but I didn't take time to fix it.


Stephan Bosch
stephan at rename-it.nl
IRC: Freenode, #dovecot, S[r]us

More information about the dovecot mailing list