On 10-Jun-2007, at 06:18, Brett Patterson wrote:
$rcmail_config['username_domain'] = 'yourdomain.com'; $rcmail_config['mail_domain'] = 'yourdomain.com';
Otherwise, if you use multiple IMAP servers, you'd specify it like so: $rcmail_config['username_domain'] =
array('webmail.yourdomain.com'=>'yourdomain.com'); $rcmail_config['mail_domain'] =
array('webmail.yourdomain.com'=>'yourdomain.com');
I know this is an ancient message, but I want to be a bit clearer
about this.
Assuming my mail server is mail.maindomain.tld and that my web server
is www.maindomain.tld (where roundcube is) and that I have 3 domains
hosted there: first.tld, second.tld, and third.tld. Now, the users to
maindomain.tld do not need to specify their domain, so the config
looks like this:
$rcmail_config['username_domain'] = array('mail.maindomain.tld'=>'', 'mail.maindomain.tld'=>'first.tld', 'mail.maindomain.tld'=>'second.tld', 'mail.maindomain.tld'=>'third.tld');
$rcmail_config['mail_domain'] =
array('mail.maindomain.tld'=>'maindomain.tld',
'mail.maindomain.tld'=>'first.tld',
'mail.maindomain.tld'=>'second.tld',
'mail.maindomain.tld'=>'third.tld');
Is that right?