I have configured a UCS Server with Nextcloud Hub, Mailserver and Let´s Encrypt and i want to configure mail in nextcloud.
I´m facing the folowing Problem:
I can´t configure Mail in nextcloud, because it can´t check the certificate and gets a tls-error.
The router does not support NAT-Loopback, so the client behind can´t resolve the DNS of nextcloud, so i added an entry to the hosts-file, so it can resolve DNS and check the certificate as valid.
But I have no idea how to configure the nextcloud-docker-container to resolve the dns or disable the certificate check.
Does someone have an idea or “best practice” to solve this problem?
with kind regards