Autodiscover / Autoconfig - Outlook automatically fills in IMAP/SMTP config
Posted: Thu Aug 31, 2023 7:53 am
Hi, I started to look into "Autoconfig" and/or "Autodiscover" over the past two days. Namely, I would like that when you enter an email address in Outlook, it automatically passes on the correct IMAP/SMTP data. Namely, it now keeps "pushing" on "imap.<domainname>.nl" and "smtp.<domainname>.nl", then choosing the wrong port and not the right encryption.
I can't find much about it, but I do see that at my hosting provider's autoconfig/autodiscover does work. I just can't get it to work properly. I hope someone has more experience with this.
Ideally, I would like to run the IMAP/SMTP through mailconfig.myserverdomain.com. I currently have these DNS records set up:

I have this autoconfig url: https://autoconfig.mydomain.nl/
This url sends out an XML on every possibility, and if an ?emailaddress= is sent along with it, it also appears in the XML.

Exactly the same also for autodiscover:

Unfortunately, it does not keep working even after waiting 24 hours due to DNS processing. I have tried so much, but don't know anymore.
Does anyone happen to have worked with this before? Are there any external packages that help with this? Am I doing something wrong?
Thanks for thinking with me!
I can't find much about it, but I do see that at my hosting provider's autoconfig/autodiscover does work. I just can't get it to work properly. I hope someone has more experience with this.
Ideally, I would like to run the IMAP/SMTP through mailconfig.myserverdomain.com. I currently have these DNS records set up:

I have this autoconfig url: https://autoconfig.mydomain.nl/
This url sends out an XML on every possibility, and if an ?emailaddress= is sent along with it, it also appears in the XML.

Exactly the same also for autodiscover:

Unfortunately, it does not keep working even after waiting 24 hours due to DNS processing. I have tried so much, but don't know anymore.
Does anyone happen to have worked with this before? Are there any external packages that help with this? Am I doing something wrong?
Thanks for thinking with me!