[horde] Sieve problem
Patrick Boutilier
boutilpj at ednet.ns.ca
Sat Apr 5 13:50:43 UTC 2008
MarkatOSI wrote:
> I'm using horde stable and i also have an install of horde RC2 and RC3 They
> all exhibit the same behavior
>
> I'm attempting to get sieve working with my cyrus imap server 2.3.7-1.1.el5
> on Centos 5.1
> I have edited my backend.php file
Is the following entry the first one in backends.php ? If not, make it.
Also, put $conf['storage']['driver'] = 'prefs'; back in config.php
>
> /* Sieve Example */
> $backends['sieve'] = array(
> 'driver' => 'timsieved',
> 'preferred' => 'localhost',
> 'hordeauth' => true,
> 'params' => array(
> // Hostname of the timsieved server
> 'hostspec' => 'localhost',
> // Login type of the server
> 'logintype' => 'PLAIN',
> // 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()
> );
>
> I have edited the conf.php file as i didn't see a drop down item for
> anything other that "prefs" in the horde administration window for ingo
>
> <?php
> /* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
> // $Horde: ingo/config/conf.xml,v 1.13 2004/02/11 19:24:23 slusarz Exp $
> $conf['menu']['apps'] = array();
> $conf['storage']['driver'] = 'sieve';
> $conf['storage']['maxblacklist'] = 0;
> $conf['storage']['maxwhitelist'] = 0;
> $conf['rules']['userheader'] = true;
> $conf['rules']['usefolderapi'] = true;
> /* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
>
> I am using PHP-Pear version 1.4.9-4 with the following items installed
> Archive_Tar 1.3.2 stable
> Auth_SASL 1.0.2 stable
> Cache 1.5.4 stable
> Console_Getopt 1.2.3 stable
> DB 1.7.13 stable
> Date 1.4.7 stable
> File 1.3.0 stable
> Fileinfo 1.0.4 stable
> HTTP_Request 1.4.2 stable
> HTTP_WebDAV_Server 1.0.0RC4 beta
> LZF 1.4 stable
> Log 1.9.9 stable
> Net_IMAP 1.0.3 stable
> Net_Sieve 1.1.6 stable
> Net_Socket 1.0.8 stable
> Net_URL 1.0.15 stable
> PEAR 1.7.1 stable
> Services_Weather 1.4.2 stable
> Structures_Graph 1.0.2 stable
> Text_Wiki 1.2.0 stable
> XML_Feed_Parser 1.0.2 stable
> XML_RPC 1.5.0 stable
> json 1.2.1 stable
> memcache 2.1.0 stable
>
> I am using PHP 5.1.6
>
> After the editing of the files i receive this error:
>
> Warning:
> Ingo_Storage::require_once(/var/www/html/horde-stable/ingo/lib/Storage/sieve.php)
> [function.Ingo-Storage-require-once]: failed to open stream: No such file or
> directory in /var/www/html/horde-stable/ingo/lib/Storage.php on line 101
>
> Fatal error: Ingo_Storage::require_once() [function.require]: Failed opening
> required '/var/www/html/horde-stable/ingo/lib/Storage/sieve.php'
> (include_path='/var/www/html/horde-stable/lib:/var/www/html/horde-stable/lib/../pear')
> in /var/www/html/horde-stable/ingo/lib/Storage.php on line 101
>
> So i made a link to where it thought sieve.php should be and then received
> the following error:
>
> Fatal error: Class 'Ingo_Script' not found in
> /var/www/html/horde-stable/ingo/lib/Script/sieve.php on line 14
>
> So what am I doing wrong? I have zero programming experience with PHP
More information about the horde
mailing list