[imp] virtual domain setup with imp
Steven Anicas
anicas at hukilauNet.com
Thu Oct 16 09:29:27 PDT 2003
Hi,
Maybe you can help me with this issue:
I have 2 (and possibly more) domains to manage on the same mail server
mail.domain1.com
mail.domain2.com
mail.domain3.com (future)
I modified the servers.php file $servers, but when I connect using
mail.domain2.com
the reply address still shows me at domain1.com instead of me at domain2.com.
here's what my servers.php look like:
$servers['imap'] = array(
'name' => 'IMAP Server',
'server' => 'localhost',
'protocol' => 'imap/notls',
'port' => 143,
'folders' => 'mail/',
'namespace' => '',
'maildomain' => 'domain1.com',
'smtphost' => 'mail.domain1.com',
'realm' => 'domain1.com',
'preferred' => ''
);
$servers['imap2'] = array(
'name' => 'domain2.com',
'server' => 'localhost',
'protocol' => 'imap/notls',
'port' => 143,
'folders' => 'mail/',
'namespace' => '',
'maildomain' => 'domain2.com',
'smtphost' => 'mail.domain1.com', <rem> I left this the same on purpose
since domain2.com is a virtual host.
'realm' => 'domain2.com',
'preferred' => ''
);
Thanks for your help...
More information about the imp
mailing list