[imp] imp with virtual accounts

Alexander Dalloz alexander.dalloz@uni-bielefeld.de
Sun, 05 May 2002 18:19:48 +0200


Hi,

> -----Original Message-----
> From: imp-bounces@lists.horde.org [mailto:imp-bounces@lists.horde.org]On
> Behalf Of Lokesh Khanna
> Sent: Sunday, May 05, 2002 4:34 PM
> To: imp@lists.horde.org
> Subject: [imp] imp with virtual accounts
> 
> 
> Hi
> 
> Any one from you is using IMP webmail with virtual accounts ? I 
> am using IMP
> 3.0 and its working with normal system accounts but not with virtual
> account.
> But i m able to access my virtual account using any other client like
> outlook express etc ..
> what should i do ??
> Regards
> 
> Lokesh Khanna
> Engineer- IDC (Network Integration)
> Internet Services Group

In /var/www/html/horde/imp/config/servers.php:

$servers['_prompt'] = array(
    'name' => 'Mailserverauswahl:'
);

$this_domain=substr(getenv('HTTP_HOST'),strpos(getenv('HTTP_HOST'),'.')+1);

$servers['imap'] = array(
    'name' => 'IMAP Server',
    'server' => 'localhost',
    'protocol' => 'imap',
    'port' => 143,
    'folders' => '/webmail',
    'namespace' => '',
    'maildomain' => $this_domain,
    'smtphost' => 'mail.domain.tld',
    'realm' => $this_domain,
    'preferred' => ''
);

This works for my virtual host environment.

Alexander

-- 
Alexander Dalloz
Enger, Germany

PGP fingerprint: 2307 88FD 2D41 038E 7416  14CD E197 6E88 ED69 5653
PGP key valid: made 13.07.1999