{"id":13475585,"url":"https://github.com/regnull/email-autodiscover","last_synced_at":"2025-07-06T03:12:50.931Z","repository":{"id":144416835,"uuid":"438350209","full_name":"regnull/email-autodiscover","owner":"regnull","description":"Autodiscover email configuration for popular email clients","archived":false,"fork":false,"pushed_at":"2021-12-15T21:11:15.000Z","size":9253,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T00:34:46.510Z","etag":null,"topics":["apple-mail","configuration","email","ios-mail","outlook","thunderbird"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/regnull.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2021-12-14T17:57:19.000Z","updated_at":"2022-11-12T19:17:18.000Z","dependencies_parsed_at":"2024-01-13T18:24:15.827Z","dependency_job_id":"1a7a866f-2a41-4080-b0c9-0da28144859c","html_url":"https://github.com/regnull/email-autodiscover","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/regnull/email-autodiscover","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regnull%2Femail-autodiscover","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regnull%2Femail-autodiscover/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regnull%2Femail-autodiscover/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regnull%2Femail-autodiscover/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/regnull","download_url":"https://codeload.github.com/regnull/email-autodiscover/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regnull%2Femail-autodiscover/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263841797,"owners_count":23518497,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["apple-mail","configuration","email","ios-mail","outlook","thunderbird"],"created_at":"2024-07-31T16:01:21.698Z","updated_at":"2025-07-06T03:12:50.912Z","avatar_url":"https://github.com/regnull.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# Email Autodiscover\n\nProvides IMAP/SMTP Autodiscover capabilities on Microsoft Outlook/Apple Mail, Autoconfig capabilities for Thunderbird, and Configuration Profiles for iOS/Apple Mail.\n\nThe config files (and this README file, to a large extent) are copied from the excellent [Incruises autodiscover.xml](https://github.com/Incruises/autodiscover.xml) repo,\nbut the code was re-written in Go instead of Java Script and the functionality to handle TLS/SSL connections was added.\n\n## Running the Autodiscover Server\n\nTo run the server, complile cmd/autodiscover/main and run it like so:\n\n```\nautodiscover --config=\u003cpath to your config file\u003e\n```\n\nSee config directory for the example of the config file. There are additional command line arguments to specify certificate and key if you want to handle TLS/SSL connections.\n\n\n## Microsoft Outlook/Apple Mail\nURL (POST XML): https://{{app_domain}}/Autodiscover/Autodiscover.xml\n\nCreate a SRV DNS Record:\n\n|    Service    | Protocol | Value, Destination, Target | Port | Priority | Weight | TTL  |\n|:-------------:|:--------:|:--------------------------:|:----:|:--------:|:------:|:----:|\n| _autodiscover |   _tcp   |   {{app_domain}}   |  443 |     5    | 0      | 3600 |\n\nTest your Autodiscover configuration (Microsoft Outlook): https://testconnectivity.microsoft.com (Click on \"Outlook Autodiscover\")\n\n## Mozilla Thunderbird\nURL (GET): https://{{app_domain}}/mail/config-v1.1.xml\n\nCreate a CNAME DNS Record:\n\n| Name, Host, Alias |  Value, Destination  |  TTL |\n|:-----------------:|:--------------------:|:----:|\n|     autoconfig    | {{app_domain}} | 3600 |\n\n## iOS / Apple Mail\nURL (GET): https://{{app_domain}}/email.mobileconfig?email=EMAIL_ADDRESS\n\nRedirect users to above URL and the MobileConfig Profile will be downloaded. The user will be instructed to install the profile to configure their email.\n\n## Notes\n\nThe above autoconfiguration methods assume the following:\n\n* Username: `{{email}}` (Entire email address)\n* Encryption: SSL/TLS\n\n## Workarounds\n\n#### I only have one mail server with both IMAP and SMTP on the same machine (mail.mydomain.com).\n\nCreate CNAME DNS Records that alias imap/smtp to your machine, like so:\n\n| Name, Host, Alias | Value, Destination |  TTL |\n|:-----------------:|:------------------:|:----:|\n|        imap       |  mail.mydomain.com | 3600 |\n|        smtp       |  mail.mydomain.com | 3600 |\n\n#### My settings are different or not compatible with these settings.\n\nFeel free to fork this repository and modify it to your needs.\n\n## License\n\nThis project is distributed under the [MIT License](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fregnull%2Femail-autodiscover","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fregnull%2Femail-autodiscover","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fregnull%2Femail-autodiscover/lists"}