[imp] virtual domain setup with imp

Ian Roberts ianto_panto at mac.com
Mon Sep 29 12:24:07 PDT 2003


Im looking towards the future now, but is doing this...

$servers['imap'] = array(
    'name' => 'Domain1',
    'server' => 'localhost',
    'protocol' => 'imap',
    'port' => 143,
    'folders' => 'Mail/',
    'namespace' => '',
    'maildomain' => 'domain1.com',
    'smtphost' => 'mail.domain1.com',
    'realm' => 'domain1.com',
    'preferred' => 'domain1.com'
);
$servers['imap2'] = array(
    'name' => 'Domain2',
    'server' => 'localhost',
    'protocol' => 'imap',
    'port' => 143,
    'folders' => 'Mail/',
    'namespace' => '',
    'maildomain' => 'domain2.com',
    'smtphost' => 'mail.domain2.com',
    'realm' => 'domain2.com',
    'preferred' => 'domain2.com'
);

in conf.php
$conf['server']['server_list'] = 'none';
$conf['server']['change_server'] = false;
$conf['server']['change_port'] = false;
$conf['server']['change_protocol'] = false;

going to be effective when you have hundreds of site with webmail on your server? This would make the server.php file quite large right?
Is there another way? a better way?
Can users use webmail at 'my' domain and still send email with their domain name added after the @, or could it only be my domain name there?

can somebody suggest something....
Thanks very much in advance.
Ian


More information about the imp mailing list