[Tickets #4412] NEW: Net_Sieve call parameters
bugs@bugs.horde.org
bugs at bugs.horde.org
Tue Sep 12 10:52:19 PDT 2006
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=4412
-----------------------------------------------------------------------
Ticket | 4412
Created By | martin at gamigo.de
Summary | Net_Sieve call parameters
Queue | Ingo
Version | 1.1.1
Type | Bug
State | Unconfirmed
Priority | 3. High
Owners |
-----------------------------------------------------------------------
martin at gamigo.de (2006-09-12 10:52) wrote:
Hi,
it's impossible to add/change/delete rules in a standard kolab-horde
scenario.
lib/Driver/timesieved.php creates Net_Sieve with 6 parameters, but the 9th
one determines if the connection will be encrypted with TLS or not. The
standard kolab installation does not allow TLS encrypted connections to
the sieve-daemon. The default value of the 9th param is to use TLS.
But after I added three more constructor parameters (false, false, false)
to the creation of Net_Sieve another error appeared:
There's an error in the the newest pear Net_Sieve class (I know this is
not your fault - but I think you want to know this too :)). The function
_handleConnectAndLogin calls connect with three parameters. The third
parameter is $this->_useTLS. But connect excpects four parameters - and
$useTLS has to be the forth. Because the default value for the forth
parameter is true the connection still get's encrypted. To solve this I
use null as the third and $this->_useTLS as the fourth parameter.
I didn't looked in older sources of Net_Sieve, but for me it seems like
they tried to add TLS support and not only coded the described error but
also use TLS as default.
So I just write this ticket to let you know it was nice if you could add a
config option useTLS as I saw this isn't yet done CVS
Greets,
Martin
More information about the bugs
mailing list