# Use Thunderbird's autoconfig algorithm

**URL:** <https://community.getmailspring.com/t/use-thunderbirds-autoconfig-algorithm/805>\
**Category:** Feature Suggestions\
**Tags:** accounts, candidate\
**Created:** [February 25, 2021, 11:38pm UTC](https://community.getmailspring.com/t/use-thunderbirds-autoconfig-algorithm/805 "2021-02-25T23:38:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![notpushkin](https://community.getmailspring.com/user_avatar/community.getmailspring.com/notpushkin/32/749_2.png) [@notpushkin](https://community.getmailspring.com/u/notpushkin)\
**Post date:** [February 25, 2021, 11:38pm UTC](https://community.getmailspring.com/t/use-thunderbirds-autoconfig-algorithm/805/1 "2021-02-25T23:38:21Z")

</div>

First of all, thanks for the best email client out there 🙂 Here’s an idea for your consideration:

When setting up an account in Thunderbird, a fairly simple [autoconfig algorithm](https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Autoconfiguration) is used, tldr:

1. Check `https://autoconfig.<domain>/mail/config-v1.1.xml?emailaddress=<address>`
2. Check Mozilla’s own ISPDB at `https://autoconfig.thunderbird.net/v1.1/<domain>` (also look up domain’s MX records)
3. Try some common names like `imap.<domain>` or `mail.<domain>`

This makes setting up IMAP/SMTP a lot easier – you just have to write your email and password and you’re done. Definitely not something you need every day but it still would be nice to have it implemented in Mailspring as well.

* * *

(Originally posted by **[notpushkin](https://github.com/notpushkin)** on GitHub.)

---

<div class="post-metadata">

**Author:** ![bengotow](https://community.getmailspring.com/user_avatar/community.getmailspring.com/bengotow/32/14_2.png) [@bengotow](https://community.getmailspring.com/u/bengotow)\
**Post date:** [February 25, 2021, 11:38pm UTC](https://community.getmailspring.com/t/use-thunderbirds-autoconfig-algorithm/805/2 "2021-02-25T23:38:51Z")

</div>

Hey! This would be great - we actually pulled down Thunderbird’s database (which is also used by Mailcore) and put it into the app here: [Mailspring/mailcore-provider-settings.json at 4b6c24fefa270d29ee5733d66f0885aae4e6e4e1 · Foundry376/Mailspring · GitHub](https://github.com/Foundry376/Mailspring/blob/4b6c24fefa270d29ee5733d66f0885aae4e6e4e1/app/internal_packages/onboarding/lib/mailcore-provider-settings.json#L1). Right now the app makes a DNS request for MX records of your email accocunt’s domain, and then tries to match the MX record to one of those known providers. It works /most/ of the time, but I think we could definitely do better by implementing a realtime lookup to their ISPDB!

* * *

(Originally posted by **[bengotow](https://github.com/bengotow)** on GitHub.)

---

<div class="post-metadata">

**Author:** ![kimboslice](https://community.getmailspring.com/user_avatar/community.getmailspring.com/kimboslice/32/4348_2.png) [@kimboslice](https://community.getmailspring.com/u/kimboslice)\
**Post date:** [March 4, 2022, 10:33pm UTC](https://community.getmailspring.com/t/use-thunderbirds-autoconfig-algorithm/805/3 "2022-03-04T22:33:27Z")

</div>

Some kind of autoconfigure would be really nice to see!

I’d love to be able to recommend Mailspring to my non-tech savvy users, but as it currently stands I have to recommend thunderbird for the ease of use (ensuring positive user experience)
