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” ?
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.