Exchange

Testing autodiscover

autod.xml

<?xml version="1.0" encoding="UTF-8"?>
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006">
    <Request>
        <EMailAddress>[email protected]</EMailAddress>
        <AcceptableResponseSchema>http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a</AcceptableResponseSchema>
    </Request>
</Autodiscover>

Then run:

curl -d @autod.xml -u username -H 'Content-Type: text/xml' -v https://autodiscover.example.com/autodiscover/autodiscover.xml