Hi all,
I’m running nextcloud 19.0.1 on NethServer release 7.8.2003.
Now I’d like to connect the nextcloud mail app to the imap server (dovecot 2.2.36) running on the same machine. But when I try to establish a connection I get the following message:
[mail] Fatal: Creating account failed: Could not connect to IMAP: Error connecting to mail server.
POST /nextcloud/index.php/apps/mail/api/accounts
from 192.168.xx.xx by XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX at 2020-07-31T10:21:22+00:00
-
Neither the “auto” nor “manuall” works.
-
I checked the log under
/var/lib/nethserver/nextcloud/nextcloud.log
, there I have the entry:
{"reqId":"XyPwoStrMip93yodGDx6UAAAAAM","level":4,"time":"2020-07-31T10:21:22+00:00","remoteAddr":"192.168.xx.x","user":"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","app":"mail","method":"POST","url":"/nextcloud/index.php/apps/mail/api/accounts","message":"Creating account failed: Could not connect to IMAP: Error connecting to mail server.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0","version":"19.0.1.1"}
-
The connections works without issues with Thunderbird, SOGo and other mail clients.
Any ideas?
Regards Pete