Page 1 of 1

Autodiscover / Autoconfig - Outlook automatically fills in IMAP/SMTP config

Posted: Thu Aug 31, 2023 7:53 am
by ikheetjeff
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:
Image

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.
Image

Exactly the same also for autodiscover:
Image

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!

Re: Autodiscover / Autoconfig - Outlook automatically fills in IMAP/SMTP config

Posted: Thu Aug 31, 2023 8:13 am
by ikheetjeff
I just now found this one:
https://docs.directadmin.com/other-host ... cover.html

I see here that I just got some different things, so I've adjusted those now. Wondering if this might make a difference.

Re: Autodiscover / Autoconfig - Outlook automatically fills in IMAP/SMTP config

Posted: Fri Sep 01, 2023 1:59 am
by ikheetjeff
Still no difference, also don't understand why not. Nothing at all works at, even though everything is fine. Even Outlook's AutoConfig test tool retrieves the correct data.

Hope someone still has some idea / experiences with this to share.