i just re-setup my Nextcloud Server and imported the data without any Problem. The instance is up an Running perfectly.
Now im trying to setup the Mail-Server under Basic Settings. But i cant connect it. Im Only getting the Message: âA problem occurred while sending the email. Please revise your settings. (Error: Email could not be sent. Check your mail server log)â
The config.php gets written correctly and the server-data is set. The Server itself can be accessed without a problem via Outlook, thunderbird, webmail, etc. but the Mail-Server doesnt work, therefore i cant send my users invitational-Mails.
I checked my firewall. The Nextcloud Server sends some Packages via Port 465 which always have been accepted. Im confused and dont get whats the problemâŚ
Sorry, thougt the Info was Enough. Im a new user. Where can i find the âdefault issue templateâ ?
MySetup:
Hyper-V Servercluster
Two Virtual Machines (Ubuntu 22.04. LTS)
One Machine Only for Nextcloud 26 with default settings and ssl-connection via lets-encrypt
â Accessible via cloud.sittamedia.com
â Internal IP for example â192.168.1.Xâ
One Machine for iRedMail Instance Version 1.6.2, Webinterface only internal
â Accessible (25, 465, 587, 993, icmp) via mail.sittamedia.com an internal
â Internal IP in DMZ for example â192.168.125.200â
All Clients in Network â192.168.1.Xâ can Access the Mailserver without a Problem
All Clients over the Internet can Access the Mailserver without a Problem
For connections from my Nextcloud Server to iRedMail are the Same Firewall Rules Applied as from Normal clients.
When i try to connect from Nextcloud to iRedMail i see the packets over for example port 465 in my logs which get accepted an passe through, but Nextcloud shows after 1-2 seconds the Error Code "A problem occurred while sending the email. Please revise your settings. (Error: Email could not be sent. Check your mail server log)â
I tried to Ping my Mailserver from my Ubuntu-Nextcloud-Host, the Pings work
Today i tried to connect the Nextcloud Mailapp to the Mailserver, that also doesnt work. I get the Error âImap-Server not reachableâ immediately after pressing the âConnectâ Button.
The File ânextcloud.logâ in the folder âdataâ is empty
I searched for other threads, but i couldnt find a working solution.