ScottPeterJohnson / purelymail-issues

Issues repository for the Purelymail email service.
37 stars 0 forks source link

Request - Autodiscover/Autoconfig #137

Open brianyulke opened 2 years ago

brianyulke commented 2 years ago

I would be nice to have autodiscover and autoconfig supported so mail clients can be configured automatically without having to manually enter mail server settings.

rogerjane commented 2 years ago

(I’m not affiliated with purelymail)

I think this ‘may’ be possible for the purelymail domains but won’t be for user domains as it is set up in the DNS records for the domain (they then redirect to an XML document on a server somewhere).

They ‘may’ be able to provide a DNS entry that would direct to a purelymail server that dynamically generates the correct XML for your domain… 🤔

I should probably mention that it likely won’t work for Apple devices either way as they’re weird.

brianyulke commented 2 years ago

The DNS records wouldn't be an issue as Purelymail users with custom domains already have to setup a few anyway. And yes, on the server side it would have to dynamically return the correct XML for the given custom domain. Between "autoconfig" and "autodiscover" it should cover most clients, including the default Mail app on iOS.

rogerjane-nhs commented 2 years ago

This is sounding an excellent thing for Scott to do when he's bored one day! :)

ScottPeterJohnson commented 2 years ago

I can try to add this. I did add SRV records; kind of annoying that Thunderbird doesn't support those. Overview of how it seems to work for my later reference: https://docs.iredmail.org/iredmail-easy.autoconfig.autodiscover.html

Also, it seems like they might make some requests over unsecured HTTP, so pointing a CNAME would actually work without SSL cert issues.

Beryesa commented 1 year ago

Can we contribute anything? I host my own .well-known/... for now but it would be neat if we could use autoconfig cname and a srv record. Can look at mailbox for reference I guess https://kb.mailbox.org/en/private/custom-domains/how-to-configure-e-mail-clients-automatically-through-dns