Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: mercator on March 09, 2008, 05:18:52 AM

Title: Multiple Domains: Different SMTP servers?
Post by: mercator on March 09, 2008, 05:18:52 AM
Hello,

In my main.in.php, I have specified the following IMAP servers a user can choose from:

$rcmail_config['default_host'] = array (
 'localhost' => 'localhost',
 'ssl://imap.gmail.com:993' => 'gmail (.com)'
);

The problem I am facing is that all mail now gets sent through the local host, also the GMAIL ones. How EXACTLY can I specify that when a usder logs in to "gmail (.com)", it should use gmail's SMTP server instead of the local one?

Thanks for your help,
Mercator
Title: Re: Multiple Domains: Different SMTP servers?
Post by: OhYa on March 12, 2008, 09:08:44 PM
I need to do this as well...

Exactly what I need to do is this,
I have several domains with a few users on each.
So I need them to be able to login to a single webmail.MyMainDomain.com

they are all local
so whats the best way to do this?


Thanks