Author Topic: Setup single install for multiple servers  (Read 9663 times)

Offline AndyW

  • Jr. Member
  • **
  • Posts: 19
Setup single install for multiple servers
« on: July 07, 2006, 10:38:57 PM »

I know i'm missing something,

How can we setup a single install for defined list of server (list of Ipaddress or hostnames) ?


Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Re: Setup single install for multiple servers
« Reply #1 on: July 07, 2006, 10:51:31 PM »
In the config file, where it says $rcmail_config['default_host'] create an array('domain.com', 'domain.com', 'domain.com'); of servers...

Don't forget to itterate through the rest of the config file to set up the other options.

While there currently is the ability to define multiple hosts, you can't define multiple SMTP servers.
 
  

Offline AndyW

  • Jr. Member
  • **
  • Posts: 19
Re: Setup single install for multiple servers
« Reply #2 on: July 07, 2006, 10:53:37 PM »

Thank for the fast reply. Will work on this and report. :)
Smiley

Offline AndyW

  • Jr. Member
  • **
  • Posts: 19
Re: Setup single install for multiple servers
« Reply #3 on: July 07, 2006, 11:13:02 PM »
Setup done, getting this message for remote accounts,

IMAP Error: Could not connect to remote-host.com at port 143: Connection timed out


Some debug leads;
-Local install at all servers works, but only for local server.
-Hostnames specified correctly, dns resolving, imap port is open to accept remote connections.
-IMAP is working correctly from remote location, via Outlook.
-Issue reflected irrespective of OS (linux & windows boxes)

Offline AndyW

  • Jr. Member
  • **
  • Posts: 19
FIXED[Re: Setup single install for multiple servers]
« Reply #4 on: July 08, 2006, 06:34:49 AM »
Fixed[IMAP Error: Could not connect to remote-host.com at port 143: Connection timed out]

This was a ServerSide error, caused by the RC not being able to add records in RC MySQL database, after successful authentication via IMAP, due to RC mySQL database being called by 'localhost' in db.inc.php

As soon as this was changed to a 'hostname.com' in db.inc.php, issue was resolved.

Some, users may face DB connectivity issues on changing from 'localhost' to 'hostname.com' - please check you mysql setting "access hosts" and mod_security setting to correct this.

RC should correct this error message to display DB connection error, than a IMAP connection time out