{"id":42391525,"url":"https://github.com/wdes/mail-autodiscover-autoconfig","last_synced_at":"2026-01-28T00:11:29.501Z","repository":{"id":57201538,"uuid":"504113577","full_name":"wdes/mail-autodiscover-autoconfig","owner":"wdes","description":"A docker image to deploy to have a dynamic autodiscover XML and autoconfig XML host. Supports Outlook, Thunderbird, Apple, some Android apps, and more..","archived":false,"fork":false,"pushed_at":"2024-08-09T16:20:32.000Z","size":234,"stargazers_count":20,"open_issues_count":3,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-08-09T18:01:21.198Z","etag":null,"topics":["autoconf","autoconfiguration","autodiscover","autodiscover-service","autodiscovery","docker","docker-image","email","mail","rust","thunderbird"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/wdes/mail-autodiscover-autoconfig","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wdes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"wdes","custom":"https://www.paypal.com/donate/?hosted_button_id=7K4QTYD6E9976"}},"created_at":"2022-06-16T10:36:13.000Z","updated_at":"2024-08-09T16:20:36.000Z","dependencies_parsed_at":"2024-02-12T22:43:02.639Z","dependency_job_id":"efea3fea-ca05-43cf-a740-318f358c98e0","html_url":"https://github.com/wdes/mail-autodiscover-autoconfig","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/wdes/mail-autodiscover-autoconfig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdes%2Fmail-autodiscover-autoconfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdes%2Fmail-autodiscover-autoconfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdes%2Fmail-autodiscover-autoconfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdes%2Fmail-autodiscover-autoconfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wdes","download_url":"https://codeload.github.com/wdes/mail-autodiscover-autoconfig/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdes%2Fmail-autodiscover-autoconfig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28828390,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T23:29:49.665Z","status":"ssl_error","status_checked_at":"2026-01-27T23:25:58.379Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autoconf","autoconfiguration","autodiscover","autodiscover-service","autodiscovery","docker","docker-image","email","mail","rust","thunderbird"],"created_at":"2026-01-28T00:11:28.960Z","updated_at":"2026-01-28T00:11:29.496Z","avatar_url":"https://github.com/wdes.png","language":"Rust","funding_links":["https://github.com/sponsors/wdes","https://www.paypal.com/donate/?hosted_button_id=7K4QTYD6E9976"],"categories":[],"sub_categories":[],"readme":"# Wdes Mail AutoDiscover-AutoConfig\n\n[![dependency status](https://deps.rs/repo/github/wdes/mail-autodiscover-autoconfig/status.svg)](https://deps.rs/repo/github/wdes/mail-autodiscover-autoconfig)\n[![Build and test rust code](https://github.com/wdes/mail-autodiscover-autoconfig/actions/workflows/rust.yml/badge.svg)](https://github.com/wdes/mail-autodiscover-autoconfig/actions/workflows/rust.yml)\n![maintenance-status](https://img.shields.io/badge/maintenance-passively--maintained-yellowgreen.svg)\n\n## Support\n\n- Thunderbird\n- Microsoft Outlook\n- Apple MacOS\n- Apple iOS\n\n## Inspiration\n\n- [mailcow's autodiscover-json.php](https://github.com/mailcow/mailcow-dockerized/blob/master/data/web/autodiscover-json.php)\n- [Monogramm's autodiscover-email-settings Node project](https://github.com/Monogramm/autodiscover-email-settings)\n- [Wicloz's EmailAutoConfig templates](https://github.com/Wicloz/EmailAutoConfig/tree/8e02dbd6dca7edfd748802028ba711289a7fe1a5/templates)\n- [Mailu's logic for AcceptableResponseSchema](https://github.com/Mailu/Mailu/blob/c15e4e6015592735fa6f730af72b8332e93ae672/core/admin/mailu/internal/views/autoconfig.py#L55-L91)\n- [hmlkao's php-autodiscover for Apps to test](https://github.com/hmlkao/php-autodiscover#readme)\n- [StephanvanSchaik's automail project written in Rust](https://github.com/StephanvanSchaik/automail)\n\n## Tested email clients\n\n| Email client | Tested version |\n| ------------ | -------------- |\n| [Apple MacOS Monterey](https://www.apple.com/fr/macos/monterey/) on Apple Mail | MacOS: 12.2, Mail: 15.0 (3693.60.0.1.1) |\n| [Thunderbird](https://www.thunderbird.net/) | 91.10.0 |\n| [Evolution on Ubuntu](https://wiki.gnome.org/Apps/Evolution/) | [3.40.0](https://gitlab.gnome.org/GNOME/evolution/-/tree/3.40.0/) |\n| [KMail on Ubuntu](https://userbase.kde.org/KMail) | 5.19.3 (21.12.3) |\n| [Microsoft Office Pro Plus 2013](https://wikipedia.org/wiki/Microsoft_Office_2013) | 15.0.5399.1000 64 bits |\n| [Microsoft Office Pro Plus 2021](https://wikipedia.org/wiki/Microsoft_Office_2013) \u003cbr\u003e *[_You need to disable Office 365 setup and adjust the config manually_](https://github.com/smartlyway/email-autoconfig-php/issues/2) | 14326.204454 64 bits |\n\n### Mobile email clients\n\n| Email client | Tested version |\n| ------------ | -------------- |\n| [Apple iOS 15.6.1](https://support.apple.com/en-us/HT213412) | iOS: 15.6.1 |\n| [FairEmail](https://github.com/M66B/FairEmail) | 1.1917 |\n| [K-9 Mail since 6.709](https://github.com/thundernest/k-9#readme) | [6.709](https://github.com/thundernest/k-9/releases/tag/6.709) |\n| [Android Nine](https://www.9folders.com/en/index.html) | [4.9.4b](https://play.google.com/store/apps/details?id=com.ninefolders.hd3) |\n| [Spark Mail on Android](https://sparkmailapp.com/) | 2.11.8 |\n| [MailTime on Android](https://mailtime.com/) | 2.5.4.0614 |\n| [Maily on Android](https://github.com/Enough-Software/enough_mail_app#readme) | [1.0.0](https://play.google.com/store/apps/details?id=de.enough.enough_mail_app) |\n| [ProfiMail on Android](https://www.lonelycatgames.com/apps/profimail) | 4.31.08 |\n\n## Usage\n\nPull the [image](https://hub.docker.com/r/wdes/mail-autodiscover-autoconfig): `docker pull wdes/mail-autodiscover-autoconfig`\n\nSave this `docker-compose.yml` file and adjust it for your needs.\n\n```yml\nversion: \"3\"\n\nservices:\n    mail-autodiscover-autoconfig:\n        image: wdes/mail-autodiscover-autoconfig:latest\n        mem_limit: 120M\n        mem_reservation: 50M\n        restart: on-failure:40\n        ports:\n            - \"8088:80\"\n        environment:\n            ROCKET_PROFILE: production\n            ROCKET_ADDRESS: \"0.0.0.0\"\n            ROCKET_PORT: \"80\"\n            # https://www.uuidgenerator.net/\n            # Re-generate the two UUIDs below\n            APPLE_MAIL_UUID: ff83a13b-c4e6-41c5-bf54-0a244bb3bf5d\n            APPLE_PROFILE_UUID: b8e39daa-64a3-4928-bb86-cb4b551fdd57\n            # CUSTOM_DOMAINS: foo.tld\n            # (optional: CUSTOM_DOMAINS) List of domains that will use {imap,pop,smtp}.domain.tld instead of the hosts below\n            IMAP_HOSTNAME: imap.mails.provider.tld\n            POP_HOSTNAME: pop.mails.provider.tld\n            SMTP_HOSTNAME: smtp.mails.provider.tld\n```\n\n### Install on Apple\n\n- Browse `https://autoconfig.\u003cdomain\u003e.\u003ctld\u003e/apple` or directly `https://autoconfig.\u003cdomain\u003e.\u003ctld\u003e/email.mobileconfig?email=\u003cusername\u003e@\u003cdomain\u003e.\u003ctld\u003e`\n- Fill and submit the form, the profile downloads itself\n- Click on it, it says to go to system settings to enable it\n- Go to system settings, then \"Profiles\" or \"Downloaded Profiles\"\n- Click install on the profile, enter your password\n- You can go back to your Mail app, the email configured\n\nNB: Is Apple signing implemented: No. Will it be: maybe, if someone/I figures it out ^^\n\n### Technical compilation aspects\n\nYou can disable some of the default features. For now the default features are:\n\n- `apple` (This feature contains the web UI route and the mobile config route)\n- `dns` (This feature adds a DNS txt route to obtain your ideal DNS config)\n\n## TODO\n\n- [ ] [Merge the Apple code with StephanvanSchaik's automail](https://github.com/StephanvanSchaik/automail), [ref: StephanvanSchaik/automail#1](https://github.com/StephanvanSchaik/automail/issues/1).\n- [ ] Test `// Used by Microsoft Office 2009 (to be confirmed)` and adjust the code comments.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwdes%2Fmail-autodiscover-autoconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwdes%2Fmail-autodiscover-autoconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwdes%2Fmail-autodiscover-autoconfig/lists"}