I have a mailserver with which is authentificated and uses TLS on the smtp and the imap. Its using the default Port 143 and 587.
If I configure that in the mailapp, he warns “cannot connect to mailserver”.
On previous versions of the mail-app(< 1.1.3) it was at least configureable without smtp, so that I can at least see the incoming mails. Now it does not work at all anymore.
On other clients (thunderbird, iphone, outlook,…) it does work.
PS: The mailserver is resolveable from the clients and from the nextcloud instance with the /etc/hosts-file of the nextcloud-server.
If I try to add the account again I receive the error: “Error Connecting to Server” and I cannot even add it anymore.
- There is no requests received by the mailserver at all.
Can someone help me?
The erros in the logs:
OCA\Mail\Exception\ServiceException: Could not sync messages
/var/www/nextcloud/apps/mail/lib/Controller/FoldersController.php - line 102:
OCA\Mail\Service\MailManager->syncMessages(OCA\Mail\Account {}, OCA\Mail\IMAP\Sync\Request {})
/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 170:
OCA\Mail\Controller\FoldersController->sync(13, “XXXX”, “XXXX =”, []) //XXXX is just anonymizez
/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 99:
OC\AppFramework\Http\Dispatcher->executeController(OCA\Mail\Con … {}, “sync”)
/var/www/nextcloud/lib/private/AppFramework/App.php - line 126:
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Mail\Con … {}, “sync”)
/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:
OC\AppFramework\App::main(“OCA\Mail\ … r”, “sync”, OC\AppFramew … {}, { accountId: … "})
<>
OC\AppFramework\Routing\RouteActionHandler->__invoke({ accountId: … "})
/var/www/nextcloud/lib/private/Route/Router.php - line 297:
call_user_func(OC\AppFramew … {}, { accountId: … "})
/var/www/nextcloud/lib/base.php - line 997:
OC\Route\Router->match("/apps/mail/ … c")
/var/www/nextcloud/index.php - line 42:
OC::handleRequest()
Verursacht vonHorde_Imap_Client_Exception: Error connecting to mail server.
/var/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Socket.php - line 375:
Horde_Imap_Client_Socket->_connect()
/var/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Base.php - line 838:
Horde_Imap_Client_Socket->_login("*** sensiti … *")
/var/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Base.php - line 1598:
Horde_Imap_Client_Base->login("*** sensiti … *")
/var/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Base.php - line 4038:
Horde_Imap_Client_Base->status(Horde_Imap_Client_Mailbox {}, 8713)
/var/www/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Base.php - line 3632:
Horde_Imap_Client_Base->_syncStatus(Horde_Imap_Client_Mailbox {})
/var/www/nextcloud/apps/mail/lib/IMAP/Sync/Synchronizer.php - line 61:
Horde_Imap_Client_Base->sync(Horde_Imap_Client_Mailbox {}, “XXXXXX”, { ids: Horde … }}) //XXXX is just anonymize
/var/www/nextcloud/apps/mail/lib/Service/MailManager.php - line 116:
OCA\Mail\IMAP\Sync\Synchronizer->sync(Horde_Imap_C … e}, OCA\Mail\IMAP\Sync\Request {})
/var/www/nextcloud/apps/mail/lib/Controller/FoldersController.php - line 102:
OCA\Mail\Service\MailManager->syncMessages(OCA\Mail\Account {}, OCA\Mail\IMAP\Sync\Request {})
/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 170:
OCA\Mail\Controller\FoldersController->sync(13, “XXXX”, “XXXX=”, []) // XXXX is just anonymized
/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 99:
OC\AppFramework\Http\Dispatcher->executeController(OCA\Mail\Con … {}, “sync”)
/var/www/nextcloud/lib/private/AppFramework/App.php - line 126:
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Mail\Con … {}, “sync”)
/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:
OC\AppFramework\App::main(“OCA\Mail\ … r”, “sync”, OC\AppFramew … {}, { accountId: … "})
<>
OC\AppFramework\Routing\RouteActionHandler->__invoke({ accountId: … "})
/var/www/nextcloud/lib/private/Route/Router.php - line 297:
call_user_func(OC\AppFramew … {}, { accountId: … "})
/var/www/nextcloud/lib/base.php - line 997:
OC\Route\Router->match("/apps/mail/ … c")
/var/www/nextcloud/index.php - line 42:
OC::handleRequest()