managesieve and TLS with Cyrus fails
|Reported by:||andy_p||Owned by:|
Setting managesieve_usetls to true gives the following logging in logs/sieve and hangs:
[25-Sep-2010 14:52:03 +0000]: C: STARTTLS
[25-Sep-2010 14:52:03 +0000]: S: OK "Begin TLS negotiation now"
[25-Sep-2010 14:52:03 +0000]: STARTTLS negotiation successful
The problem is line 1149 in lib/Net/Sieve.php, where it says
$this->_doCmd(); program execution hangs here. With Cyrus, the line may be completely omitted, but it won't do any harm if it's changed to $this->_doCmd('CAPABILITY') in case other sieve daemons need that.