[horde] How can I setup sieve in Horde Groupware Webmail Edition 5.0.2?
Simon Wilson
simon at simonandkate.net
Tue Dec 4 10:33:48 UTC 2012
----- Message from "[SOLTECSIS] Carles Xavier Munyoz Baldó"
<carles at unlimitedmail.org> ---------
Date: Tue, 04 Dec 2012 10:18:31 +0100
From: "[SOLTECSIS] Carles Xavier Munyoz Baldó" <carles at unlimitedmail.org>
Subject: Re: [horde] How can I setup sieve in Horde Groupware Webmail
Edition 5.0.2?
To: horde at lists.horde.org
> On 04/12/12 02:14, Simon Wilson wrote:
>>>> This is the contents of my ingo/config/backends.local.php file:
>>>> [...]
>>>> <?php
>>>> $backends['sieve'] = array(
>>>> 'disabled' => false,
>>>> 'transport' => 'timsieved',
>>>> 'preferred' => '10.99.4.151',
>>>> 'params' => array(
>>>> // Hostname of the timsieved server
>>>> 'hostspec' => '10.99.4.151',
>>>> // Login type of the server
>>>> //'logintype' => 'PLAIN',
>>>> //'logintype' => 'CRAM-MD5',
>>>> 'logintype' => 'DIGEST-MD5',
>>>> // Enable/disable TLS encryption
>>>> 'usetls' => true,
>>>> // Port number of the timsieved server
>>>> 'port' => 4190,
>>>> // Name of the sieve script
>>>> 'scriptname' => 'ingo',
>>>> // Enable debugging. With Net_Sieve 1.2.0 or later, the sieve
>>>> protocol
>>>> // communication is logged with the DEBUG level. Earlier versions
>>>> // print the log to the screen.
>>>> 'debug' => false,
>>>> ),
>>>> 'script' => 'sieve',
>>>> 'scriptparams' => array(
>>>> // If using Dovecot or any other Sieve implementation that
>>>> requires
>>>> // folder names to be UTF-8 encoded, set this parameter to true.
>>>> 'utf8' => false,
>>>> ),
>>>> 'shares' => false
>>>> );
>>>> [...]
>>>>
>>>> Is it correct?
>>>>
>>>> Best regards.
>>>
>>> Mine is as follows. Note that I was completely unable to get it
>>> working with TLS on mine. Every other Horde app successfully uses TLS
>>> for me, but Sieve just always point blank refused in my setup:
>>>
>>> <?php
>>> $backends['imap']['disabled'] = true;
>>> $backends['sieve']['disabled'] = false;
>>> $backends['sieve'] = array(
>>> 'disabled' => false,
>>> 'transport' => 'timsieved',
>>> 'hordeauth' => true,
>>> 'params' => array(
>>> 'hostspec' => 'server04.simonandkate.lan',
>>> 'logintype' => 'PLAIN',
>>> 'usetls' => false,
>>> 'port' => 2000,
>>> 'scriptname' => 'ingo',
>>> 'debug' => true,
>>> ),
>>> 'script' => 'sieve',
>>> 'scriptparams' => array(
>>> 'utf8' => false,
>>> ),
>>> 'shares' => false
>>> );
>>>
>>> Simon
>>
>> From just doing some re-reading around the 'net it appears that Sieve
>> TLS in cyrus-imapd is broken, and I think fixed in 2.3.10 (happy for
>> anyone else to chip in here!). My CentOS 5.8 mail server runs
>> cyrus-imapd 2.3.7, and things fail when you try and access sieve using TLS.
>>
>> Which IMAP server are you using? What version?
>>
>> Simon
>
> Hello,
> Now I get communication with Cyrus Sieve daemon, but I have problems
> with the authentication.
> I always get the error of authentication failure.
> I'm using Cyrus 2.4.12.
>
> Thie is my ingo/config/backends.local.php file now:
> [...]
> <?php
> $backends['imap']['disabled'] = true;
> $backends['sieve']['disabled'] = false;
> $backends['sieve'] = array(
> 'disabled' => false,
> 'transport' => 'timsieved',
> 'preferred' => '10.99.4.151',
> 'hordeauth' => false,
> 'params' => array(
> // Hostname of the timsieved server
> 'hostspec' => '10.99.4.151',
> // Login type of the server
> 'logintype' => 'PLAIN',
> //'logintype' => 'CRAM-MD5',
> //'logintype' => 'DIGEST-MD5',
> // Enable/disable TLS encryption
> 'usetls' => false,
> // Port number of the timsieved server
> 'port' => 4190,
> // Name of the sieve script
> 'scriptname' => 'ingo',
> // Enable debugging. With Net_Sieve 1.2.0 or later, the
> sieve protocol
> // communication is logged with the DEBUG level. Earlier versions
> // print the log to the screen.
> 'debug' => false,
> ),
> 'script' => 'sieve',
> 'scriptparams' => array(
> // If using Dovecot or any other Sieve implementation that requires
> // folder names to be UTF-8 encoded, set this parameter to true.
> 'utf8' => true,
> ),
> 'shares' => false
> );
> [...]
>
> May someone help?
>
> Best regards.
>
>
>
Is there any useful information in the maillog from cyrus? How do you
have cyrus auth setup? Can you auth to Cyrus any other way, i.e. IMAP?
Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: PGP Digital Signature
URL: <http://lists.horde.org/archives/horde/attachments/20121204/bfd26bb0/attachment.bin>
More information about the horde
mailing list