Trouble installing imp 2.3.6

Milos Prudek milos.prudek@tiscali.cz
Fri, 23 Nov 2001 19:08:04 +0100


I want to install horde 1.3.4/imp 2.3.6. imp is inside the horde tree. 

There are a few problems that I could not resolve:


1. 
All values display well for http://localhost/horde/test.php. However,
there are several errors for http://localhost/horde/imp/index.php:
Warning: Constant no_action already defined in
/home/httpd/html/horde-1.3.4/imp-2.3.6/lib/IMP.php on line 10
Warning: Constant update_prefs already defined in
/home/httpd/html/horde-1.3.4/imp-2.3.6/lib/IMP.php on line 28
Fatal error: Undefined class name 'lang' in
/home/httpd/html/horde-1.3.4/imp-2.3.6/lib/base.php on line 38


2. ../horde/docs/INSTALL
Describes creation of horde_prefs and connections. Tells me how to
modify ../imp/config/conf.php. But INSTALL does not mention
../horde/config/conf.php, which also contains
"$conf['connections']['params']=array()". I copied the connection
modification from ../imp/config/conf.php to ../horde/config/conf.php. Is
that OK? Is it neccessary?


3. ../imp/config/conf.php
$conf['mailer']['params'] = array()
"For sendmail, this is mainly the sendmail_path option;SMTP requires at
least a server and a port (if nonstandard)"
Sentences like this are IMHO very unclear. "Mainly", "at least"? I
deduced the following examples:

SENDMAIL EXAMPLE:
$conf['mailer']['params']['sendmail_path'] = '/usr/sbin/sendmail';

SMTP EXAMPLE:
$conf['mailer']['params']['server'] = 'smtp.mydomain.com';
$conf['mailer']['params']['port'] = '25';

Are my exapmles OK?


4. ../imp/docs/DATABASE
DATABASE describes schema of two tables: imp_pref and imp_addr. But the
aforementioned ../horde/docs/INSTALL says that horde_prefs should be
used (no problem, just a change in imp/conf.php), and gives entirely
different schema! Which schema is correct, the one in
../imp/docs/DATABASE, or the one in ../horde/docs/INSTALL?


5. ../imp/docs/DATABASE (again)
DATABASE tells that I should create two tables. But later on it tells me
to "GRANT SELECT, INSERT, UPDATE ON imp_pref, imp_addr, imp_sessions TO
nobody;". What is the schema of imp_sessions?


6. ../horde/scripts/auth.sql
The auth table is probably supposed to be used in
"$conf['auth']['params']" in the /horde/config/horde.php file. But how
exactly?

7. ../horde/config/horde.php
Authentication IMAP:
If I set "$conf['auth']['driver'] = 'imap';", what is the imap
parameters syntax? 
IMAP EXAMPLE:
$conf['auth']['params']['server'] = 'localhost';
$conf['auth']['params']['port'] = '143';
$conf['auth']['params']['protocol'] = 'imap';
Is that OK?

Authentication SQL:
If I set "$conf['auth']['driver'] = 'sql', what is the parameters
syntax?
SQL EXAMPLE:
$conf['auth']['params']['phptype'] = 'pgsql';
$conf['auth']['params']['hostspec'] = 'localhost';
$conf['auth']['params']['username'] = 'dbuser';
$conf['auth']['params']['password'] = 'dbpasswd';
$conf['auth']['params']['database'] = 'horde';
$conf['auth']['params']['table'] = 'auth';
Is that OK?


--
Milos Prudek