Problem with Cyrus and perlsieve / IMAP::Sieve / (SOLVED)

Denis BUCHER dbucherml at
Mon Dec 14 21:36:18 EST 2009

Dear all,

I don't know if this is the right place to speak about it, but I had
this problem and found the solution :

When trying to install perlsieve-0.4.9 on a server to connect to Cyrus
(on another webserver) I have the following problem...

IMAP::Sieve [ Login incorrect while connecting to bwsvrmail ]: NO
"Authentication Error"
Capability=LOGIN PLAIN

And in Cyrus logs :

Dec 15 03:30:47 server cyrus/sieve[30555]: badlogin:
sourceserver[] PLAIN error base64 decoding string

BUT I FOUND THE SOLUTION, it was a bug in the
usr/local/share/perl/5.10.0/IMAP/ file :

If you get this problem, just replace :


$encode=encode_base64($userpass, '');


More information about the Info-cyrus mailing list