I wanted to check autodiscover health because when I add an account on outlook mobile, it defaults to IMAP config.
Problem is, autodiscover is requiring a password, so I tried gromox-dcli tool to test autodiscover
It doesn't seems to work and idk why
root@mail:/etc/nginx# PASS=myMailPassword gromox-dscli -v -x -e my@mail.fr
* Request body:
<?xml version="1.0" encoding="UTF-8"?>
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006">
<Request>
<LegacyDN>-e</LegacyDN>
<AcceptableResponseSchema>http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a</AcceptableResponseSchema>
</Request>
</Autodiscover>
* Trying https://localhost//Autodiscover/Autodiscover.xml
* Trying 127.0.0.1:443...
* Connected to localhost (127.0.0.1) port 443 (#0)
* ALPN: offers h2,http/1.1
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN: server accepted h2
* Server certificate:
* subject: CN=girod.fr
* start date: Mar 25 12:57:30 2026 GMT
* expire date: Jun 23 12:57:29 2026 GMT
* issuer: C=US; O=Let's Encrypt; CN=E8
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* using HTTP/2
* Server auth using Basic with user '-e'
* h2h3 [:method: POST]
* h2h3 [:path: //Autodiscover/Autodiscover.xml]
* h2h3 [:scheme: https]
* h2h3 [:authority: localhost]
* h2h3 [authorization: Basic LWU6aUhwIzlKYlNOeVpvb3JnaCplNk0=]
* h2h3 [user-agent: Microsoft Office/16]
* h2h3 [accept: */*]
* h2h3 [content-type: text/xml]
* h2h3 [content-length: 358]
* Using Stream ID: 1 (easy handle 0x55a73dc85e00)
> POST //Autodiscover/Autodiscover.xml HTTP/2
Host: localhost
authorization: Basic LWU6aUhwIzlKYlNOeVpvb3JnaCplNk0=
user-agent: Microsoft Office/16
accept: */*
content-type: text/xml
content-length: 358
* We are completely uploaded and fine
* old SSL session ID is stale, removing
< HTTP/2 401
< content-type: text/plain; charset=utf-8
< content-length: 14
< date: Wed, 10 Jun 2026 11:11:30 GMT
* Authentication problem. Ignoring this.
< www-authenticate: Basic realm="msrpc realm", charset="utf-8"
<
* Connection #0 to host localhost left intact
curl_easy_perform <https://localhost//Autodiscover/Autodiscover.xml>: HTTP 401
* Response body:
Unauthorized
autoconfig seems to work, but not autodiscover