@Ilia - just ran config check and it moaned about mydestination not having an entry for myDomain which is the master domain.
The original entry was
$myhostname, host2.masterDomain.com, localhost.masterDomain.com, , localhost
and had 2 commas. Corrected that to
$myhostname, host2.masterDomain.com, masterDomain.com, localhost.masterDomain.com, localhost
and ran check config and no issues highlighted.
Website Options - I’ve actually tried them all with the same results each time.
- With it set to FCGId (run as virtual server owner) - appears to be default, I still get Internal Server Timeout and in /home/myVirtualServer/logs/error_log I get
[Mon Jun 08 18:22:09.682765 2020] [fcgid:warn] [pid 7581] [client 184.108.40.206:50958] mod_fcgid: read data timeout in 31 seconds, referer: https://myDomain.com/roundcube/
[Mon Jun 08 18:22:09.682826 2020] [core:error] [pid 7581] [client 220.127.116.11:50958] End of script output before headers: index.php, referer: https://myDomain.com/roundcube/
Just a thought - looking at the IP (anonymised) should port 50958 be listening on the server?
- Setting Website Options to CGI wrapper (run as virtual server owner), I still get the RoundCube login page with username as I typed it, the password field gets wiped and for 10s or so, there is a message below the login fields that says “Connection to IMAP server failed.”.
/home/myVirtualServer/logs/error_log shows no entries for the time period & login attempt. The main mail.log shows nothing either.
- Setting Website Options to Apache mod_php (run as Apache’s user) still gets “Connection to IMAP server failed.” on RoundCube screen.
Mail.log shows nothing. /home/myVirtualServer/logs/error_log shows lots of identical lines as below
[Mon Jun 08 18:36:37.467255 2020] [php7:warn] [pid 12145] [client 18.104.22.168:51019] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/myVirtualServer/public_html/roundcube/program/lib/Roundcube/rcube_plugin_api.php on line 454, referer: https://myDomain.com/roundcube/
- Setting Website Options to FPM (run as virtual server owner) the RoundCube page doesn’t load up and I get Service Unavailble. /home/MyVirtualServer/logs/error_log has the following lines,
[Mon Jun 08 18:43:01.811161 2020] [proxy:error] [pid 15443] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:8000 () failed
[Mon Jun 08 18:43:01.811315 2020] [proxy_fcgi:error] [pid 15443] [client 22.214.171.124:51053] AH01079: failed to make connection to backend: localhost
[Mon Jun 08 18:43:26.387075 2020] [proxy:error] [pid 15441] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:8000 () failed
[Mon Jun 08 18:43:26.387204 2020] [proxy_fcgi:error] [pid 15441] [client 126.96.36.199:51057] AH01079: failed to make connection to backend: localhost
Absolutely no idea why Roundcube isn’t playing ball. Really don’t want to wipe the VPS and try all over again - considering everything else SMTP, POP, DKIM, etc are all behaving.
Thanks in advance