[horde] How can I setup sieve in Horde Groupware Webmail Edition 5.0.2?

neys neys at neys.org
Mon Dec 10 20:54:57 UTC 2012


On 12/05/2012 12:57 AM, Simon Wilson wrote:
>> I do not know any problems with Cyrus Sieve and TLS, using
>> cyrus-imapd-2.2.13-19+squeeze3 on Debian 6.0.6 works fine for me.
>>
>> Neys
>>
>
> See
>
> http://lists.roundcube.net/mail-archive/dev/2009-09/0000141.html
> http://pear.php.net/bugs/bug.php?id=14205
> http://bugs.horde.org/ticket/6338
>
> for information.
>
> There's a combination of PEAR::Net_Sieve and some Cyrus versions that
> can result in "client starts the sieve session on the server w/ a
> starttls but then seems to stall." Cyrus doesn't send a CAPABILITY
> response to STARTTLS, and everything just hangs up...
>
>  From the threads 2.2.12 seemed to work OK, but beyond that not sure up
> to 2.3.10 which apparently resolves it.
>
> Simon.
>

Maybe there are some patches from Debian fixing that problem. After 
adding virtual domains to my cyrus installation, sieve authentication 
was not working again. Adding the 'euser' parameter to the 
authentication hook as mentioned by Carles did the trick, everything 
works fine again:

ingo/config/hooks.local.php:
> [...]
>     public function transport_auth($driver)
>     {
>         switch ($driver) {
>         case 'timsieved':
>             // Example #2: Use IMP password/username.
>             $ob = $GLOBALS['registry']->call('mail/imapOb');
>             return array(
>                 'euser' => $ob->getParam('username'),
>                 'password' => $ob->getParam('password'),
>                 'username' => $ob->getParam('username')
>             );
>         }
>
>         // DEFAULT: Use hordeauth (identical to not defining hook at all).
>         return true;
>     }
> [...]

Neys


More information about the horde mailing list