choosing server based on the url
Ilya
mail@krel.org
Sun, 1 Jul 2001 23:03:00 -0400
I have two domains on same box: domain.net and domain.org
servers.php reads:
$servers['imap'] = array(
'name' => 'domain.net',
'server' => 'domain.net',
'protocol' => 'imap',
'port' => 143,
'folders' => '',
'namespace' => 'INBOX.',
'maildomain' => 'domain..net',
'smtphost' => 'domain.net',
'realm' => 'domain.net',
'preferred' => 'horde.domain.net'
);
$servers['cyrus'] = array(
'name' => 'domain.org',
'server' => 'domain.org',
'protocol' => 'imap',
'port' => 143,
'folders' => '',
'namespace' => 'INBOX.',
'maildomain' => 'domain.org',
'realm' => 'domain.org',
'preferred' => 'domain.org'
);
conf.php has
$conf['server']['server_list'] = true;
$conf['server']['server_list_hidden'] = true;
but whenever i login from horde.domain.org the email address which imp
creates is still taken as domain.net
the users on both domains are the same. i just want correct from adress when
logging in from .net or .org.
Ive tried some experimenting, but so far nothing. what am i doing wrong?
using latest-cvs-everything. 2.3.7