Roundcube Community Forum

SVN Releases => SVN Discussion => Topic started by: AndyW on July 07, 2006, 10:38:57 PM

Title: Setup single install for multiple servers
Post by: AndyW 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) ?

Title: Re: Setup single install for multiple servers
Post by: bpat1434 on July 07, 2006, 10:51:31 PM
In the config file, where it says $rcmail_config['default_host'] create an array (http://www.php.net/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.
Title: Re: Setup single install for multiple servers
Post by: AndyW on July 07, 2006, 10:53:37 PM

Thank for the fast reply. Will work on this and report. :)
Smiley
Title: Re: Setup single install for multiple servers
Post by: AndyW 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)
Title: FIXED[Re: Setup single install for multiple servers]
Post by: AndyW 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