For unknown reasons, the IMAP mail server was unavailable. The service cyrus-imapd was not correctly started. Starting this service service cyrus-imapd start solved the problem.