Roundcube Community Forum

 

Multiple Domains: Different SMTP servers?

Started by mercator, March 09, 2008, 05:18:52 AM

Previous topic - Next topic

mercator

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

OhYa

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