Hi there,
First and foremost thanks for that great project.
I recently started playing around with my own rootserver and I like it 😀 So please be patient if I don’t get everything at the first glance 😅
So my Setup is
A Domain called domain.de
with the (important) DNS configs
mail A x.x.x.x
@ MX 10 mail.domain.de
autoconfig IN CNAME mail.domain.de
autodiscover IN CNAME mail.domain.de
At this point I have played around with SRV
entries for autodiscover, but none worked so I dropped it again.
A traefik-instance that routes my traffic
An (more or less )out-of-the-box mailcow-dockerized environment, connected through my traefik-instance.
State now
All containers are up and running, HTTPS is enabled and Let’s Encrypt certificates are there.
I created an user for testing purposes. I can
- login through the webmail UI with no problems.
- manually configure a thunderbird client with the provided config settings, sending and receiving mails with no problems
- autoconfig a thunderbird client without any problems.
- manually configure my Outlook 2016 client, receive and send emails.
The problem
Autodiscover is not working T_T
When I start autoconfig in Outlook, there is no information provided about the servers….just blank. The setup doesn’t even bother asking for a password 🙁
When I rightclick on the tray icon and run “test auto email config” (or something like that in Englisch), 
The absolute correct settings are loaded.
When I run https://testconnectivity.microsoft.com/, I get an error but don’t know what to do about it.
Es wird versucht, die mögliche AutoErmittlungs-URL https://autodiscover.domain.de:443/Autodiscover/Autodiscover.xml zu testen.Fehler beim Testen dieser potenziellen AutoErmittlungs-URL.
...
Die Microsoft-Verbindungsuntersuchung konnte keine XML-Antwort von der AutoErmittlung abrufen.
Weitere Details
Die von der Microsoft-Verbindungsuntersuchung empfangene XML-Antwort der AutoErmittlung war ungültig.
Ausnahme: Ausnahmedetails:
Nachricht: There is an error in XML document (0, 0).
Typ: System.InvalidOperationException
Stapelüberwachung:
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at Microsoft.M365.RCA.ConnectivityTests.AutoDiscover.AutoDiscoverGetXMLBase2.Discover()
Ausnahmedetails:
Nachricht: Root element is missing.
Typ: System.Xml.XmlException
Stapelüberwachung:
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlReader.MoveToContent()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderOutlookAutoDiscoverResponseXML.Read11_Autodiscover()
HTTP-Antwortkopfzeilen:
Referrer-Policy: strict-origin
Strict-Transport-Security: max-age=15768000;
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Permitted-Cross-Domain-Policies: none
X-Robots-Tag: none
X-Xss-Protection: 1; mode=block
Content-Length: 0
Content-Type: text/html; charset=utf-8
Date: Sun, 14 Feb 2021 21:53:13 GMT
Server: nginx
Something is not configured correctly I guess. Can anybody give me a hint how to get autodiscover up and running? Any advice yould be great 🙂
Cheers,
Dennis