SMTP timeout breaks Manager configuration save
Concerned version
Version: %1.9.15
Platform: Apache
Summary
If the connection to SMTP server has a long timeout, configuration save results in "Network error".
Logs
==> /var/log/httpd/error_log <==
[Fri Jun 29 17:08:29.122153 2018] [ssl:debug] [pid 16442] ssl_engine_io.c(993): [client 172.30.0.33:42088] AH02001: Connection closed to child 5 with standard shutdown (server :443)
[Fri Jun 29 17:08:30.981405 2018] [fcgid:info] [pid 16438] mod_fcgid: process /usr/share/lemonldap-ng/manager/psgi/manager-server.fcgi(16452) exit(communication error), get stop signal 15
Possible fixes
We need to force a SMTP timeout in Conf::Tests to return an error before the FCGI process timeout