[CentOS] Mail has quit working

Alexander Dalloz ad+lists at uni-x.org
Sun Aug 26 16:35:26 UTC 2018


Am 26.08.2018 um 18:12 schrieb TE Dukes:
> Thanks. I did open the port but made no difference.
> 
> I found this in the roundcube mail error file:
> 
> [26-Aug-2018 11:48:41 -0400]: <a763f95e> IMAP Error: Login failed for tdukes
> from 192.168.1.102. Could not connect to localhost:143:
> php_network_getaddresses: getaddrinfo failed: System error in
> /usr/share/roundcubemail/program/lib/Roundcube/rcube_imap.php on line 197
> (POST /?_task=login?_task=login&_action=login)
> 
> There is also a warning about the time zone. It's set as America/New_York in
> php.ini

Sorry to say, but you have to learn to analyze problems systematically 
and by following simples approaches. At this point it is not useful to 
get Roundcube involved.

You see a basic error message "Could not connect to localhost:143". So 
test that without using additional software. Foremost consult the 
maillog, in this case the log content produced by dovecot. And test 
connectivity on the lowest level.

echo QUIT | openssl s_client -connect localhost:143 -starttls imap

That must be successful first. You can too test "lsof -i :143" or "ss 
-tulpen | grep 143". And tail your maillog.

Alexander




More information about the CentOS mailing list