[imp] Setting up Imp 3.1 on Virtual Webhosting Box (for addition to faq)

Amith Varghese amith@xalan.com
Fri, 20 Sep 2002 14:48:12 -0400


> 
> 2. Edited /usr/share/horde/imp/config/servers.php and commented out all
> the examples including the $servers['_prompt'] part.
> 
> Then you add the following to the file:
> 
> $this_domain=substr(getenv('HTTP_HOST'),strpos(getenv('HTTP_HOST'),'.')+
> 1);
> 
> $servers['imap'] = array(
>     'name' => $this_domain,
>     'server' => $this_domain,
>     'protocol' => 'imap/notls',
>     'port' => 143,
>     'folders' => 'mail/',
>     'namespace' => '',
>     'maildomain' => $this_domain,
>     'realm' => '',
>     'preferred' => ''
> );

An easier way to do this is to use the variable $_SERVER['SERVER_NAME'] instead
of using $this_domain

> 
> 3. Edited /usr/share/horde/imp/config/conf.php.
> 
> Changed $conf['server']['server_list'] = 'none';
> to 'hidden'.

I have mine set to none and its working fine for me... not sure about this one.

Also you probably want to edit the cookie path which is in horde/config/conf.php
from '/horde' to '/'

Amith