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!