Author Topic: Multiple Domains: Different SMTP servers?  (Read 3325 times)

Offline mercator

  • Newbie
  • *
  • Posts: 9
Multiple Domains: Different SMTP servers?
« 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

Offline OhYa

  • Newbie
  • *
  • Posts: 5
Re: Multiple Domains: Different SMTP servers?
« Reply #1 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