6.0.0-beta1
7/26/25

[#4412] Net_Sieve call parameters
Summary Net_Sieve call parameters
Queue Ingo
Queue Version HEAD
Type Enhancement
State Resolved
Priority 2. Medium
Owners
Requester martin (at) gamigo (dot) de
Created 09/12/2006 (6892 days ago)
Due
Updated 10/09/2006 (6865 days ago)
Assigned
Resolved 10/09/2006 (6865 days ago)
Milestone
Patch No

History
10/09/2006 05:11:30 PM Jan Schneider Comment #2
State ⇒ Resolved
Reply to this comment
Duplicate of ticket #4496.
09/25/2006 04:45:23 PM Jan Schneider Version ⇒ HEAD
Queue ⇒ Ingo
State ⇒ Accepted
 
09/12/2006 06:00:43 PM Chuck Hagenbuch State ⇒ New
Priority ⇒ 2. Medium
Type ⇒ Enhancement
Queue ⇒ Kolab
Version ⇒
 
09/12/2006 05:52:16 PM martin (at) gamigo (dot) de Comment #1
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Net_Sieve call parameters
Queue ⇒ Ingo
State ⇒ Unconfirmed
Reply to this comment
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

Saved Queries