Author Topic: problem with multiple domains and SMTP  (Read 2890 times)

Offline nemo

  • Newbie
  • *
  • Posts: 1
problem with multiple domains and SMTP
« on: July 23, 2007, 05:01:11 PM »
Here is a part of my config:

Code: [Select]
$rcmail_config['default_host'] =array('mail.domain1.com' => 'Domain1', 'mail.domain2.net' => 'Domain2') ;
$rcmail_config['default_port'] = 143;
$rcmail_config['username_domain'] =array('mail.domain2.net' => 'Domain2', 'mail.domain1.com' => 'Domain1');
$rcmail_config['mail_domain'] =array('mail.domain2.net' => 'Domain.net', 'mail.domain1.com' => 'domain1.com');

$rcmail_config['smtp_server'] = 'mail.domain2.net';
$rcmail_config['smtp_port'] = 25;
$rcmail_config['smtp_user'] = '%u';
$rcmail_config['smtp_pass'] = '%p';
$rcmail_config['smtp_auth_type'] = '';

It does not send emails with this config, however when I change rcmail_config to blank
Code: [Select]
$rcmail_config['smtp_server'] = '';It'll send emails, but unfortunately the hostname used is a real name my provider is using such as mail123.provider.com

What do I need to change to get it to work? I ma able to send/receive emails using other email clients.

Thank you

Offline eltonrauh

  • Newbie
  • *
  • Posts: 7
Re: problem with multiple domains and SMTP
« Reply #1 on: August 14, 2007, 03:36:01 PM »
Perfect!!!
             
   I the same have a server with HOST and domain different… what I make?