[horde] Ingo connection problem

Anders Norrbring lists at norrbring.se
Thu Oct 18 15:14:54 UTC 2007


Vilius Šumskas skrev:
> Hi,
> 
>> Hi!
>> How can I configure INGO to not use a socket connection to Sieve? I
>> have
>> the horde framework on a different server than the Cyrus IMAP server,
>> so
>> all attempts to use Ingo renders a "socket connection error".
> 
> Sieve uses port 2000 for external connections, so open it on the IMAP machine and set hostspec parameter in /ingo/config/backends.php accordingly.
> 

I have this in the backend.php

$backends['sieve'] = array(
     'driver' => 'timsieved',
     'preferred' => '192.168.222.240',
     'hordeauth' => true,
     'params' => array(
         // Hostname of the timsieved server
         'hostspec' => 'imap.the-server.net',
         // Login type of the server
         'logintype' => 'LOGIN',
         // Enable/disable TLS encryption
         'usetls' => false,
         // Port number of the timsieved server
         'port' => 2000,
         // Name of the sieve script
         'scriptname' => 'ingo',
         // The following settings can be used to specify an administration
         // user to update all users' scripts.
         // 'admin' => 'cyrus',
         // 'password' => '',
         // 'username' => Auth::getAuth(),
     ),
     'script' => 'sieve',
     'scriptparams' => array()
);

The server 192.168.222.240 is not locally firewalled, so port 2000 is 
open, and the cyrus.conf has this:
   sieve         cmd="timsieved" listen="192.168.222.240:sieve" prefork=0

So I can't really see what the problem is.

Anyway, when saving a change in Horde/Ingo, it takes a good while, then 
I get a return saying:

"Changes saved.

Error  There was an error activating the script. The driver said: Failed 
to receive from the socket"

But nothing IS saved, the ingo.script script on the Cyrus server is 
still 0 bytes.

Anders


More information about the horde mailing list