{"slug": "davmail", "name": "DavMail", "category": "communication", "category_name": "Email and chat", "description": "", "recommenders": 5, "commenters": 8, "warners": 1, "score": 3.153, "rising": -0.31, "first": "2025-11-14", "latest": "2026-10-13", "why": "Basically DavMail connects to outlook at creates a local smtp and imap server", "why_is_quote": true, "has_verdict": false, "sentiment": {"recommend": 5, "neutral": 2, "compare": 0, "warn": 1}, "spark": [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], "listed": true, "loved": [], "caveat": "", "short_quote": "Basically DavMail connects to outlook at creates a local smtp and imap server", "kind": "", "icon": true, "domain": null, "github_repo": null, "official_url": "https://davmail.sourceforge.net", "pricing": "", "aliases": ["DavMail", "davmail"], "verdict": null, "praise": [{"label": "", "summary": "", "quotes": [{"id": 798829264, "item_id": 49926829, "url": "https://news.ycombinator.com/item?id=49926829", "by": "linuxdaemon", "date": "2026-10-01", "version": null, "stance": "recommend", "quote": "DavMail might solve the problem", "excerpt": "Assuming it's the auth stuff with 365 and the inability to create long-term app passwords; DavMail might solve the problem: https://sourceforge.net/projects/davmail/ It can handle the Office365 stuff (including Oauth2) and basically translates MS \"junk\" into standard protocols (POP, IMAP, CalDAV, CardDAV, etc). So if you got that to work, you could point getmail at davmail's imap port, and continue to use it like nor", "context": "", "use_case": "Office365 to IMAP bridge", "switched_from": "", "story": "Terminal Email: terminal email clients for every system"}, {"id": 739573824, "item_id": 46223364, "url": "https://news.ycombinator.com/item?id=46223364", "by": "pfortuny", "date": "2025-12-10", "version": null, "stance": "recommend", "quote": "Davmail works for me on Linux and MacOS even from outside the intranet.", "excerpt": "You are repeating the very same history and excuses (from the IT Dpt.) I lived and heard. Davmail works for me on Linux and MacOS even from outside the intranet. Give it a try and I would be happy to help, I have a gmail account with my nick.", "context": "", "use_case": "Exchange email gateway", "switched_from": "", "story": "Putting email in its place with Emacs and Mu4e"}, {"id": 739526432, "item_id": 46220402, "url": "https://news.ycombinator.com/item?id=46220402", "by": "gloghmalogh", "date": "2025-12-10", "version": null, "stance": "recommend", "quote": "Basically DavMail connects to outlook at creates a local smtp and imap server", "excerpt": "Oh goodness, truthfully I'm not sure how well I understand it. I initially set it up a few years ago, and recently futzed with it after my organization changed something about their auth. My configs aren't really in a shareable state so I hope this ramble is at least somewhat helpful. Basically DavMail connects to outlook at creates a local smtp and imap server which I connect to with mbsyc and msmtp. Mu indexes thes", "context": "", "use_case": "Exchange/Outlook email bridge", "switched_from": "", "story": "Putting email in its place with Emacs and Mu4e"}, {"id": 739489889, "item_id": 46218118, "url": "https://news.ycombinator.com/item?id=46218118", "by": "gloghmalogh", "date": "2025-12-10", "version": null, "stance": "recommend", "quote": "I have been able to use mu4e with my o365 account using davmail", "excerpt": "I have been able to use mu4e with my o365 account using davmail (https://davmail.sourceforge.net/). I will say it was a bit of a pain to get authentication right, and involved a lot of trial and error.", "context": "", "use_case": "Exchange/O365 mail gateway", "switched_from": "", "story": "Putting email in its place with Emacs and Mu4e"}, {"id": 739457712, "item_id": 46216107, "url": "https://news.ycombinator.com/item?id=46216107", "by": "pfortuny", "date": "2025-12-10", "version": null, "stance": "recommend", "quote": "succeeded in setting up a working davmail", "excerpt": "Hi, I guess you have already tried. My Uni also made it difficult but I succeeded in setting up a working davmail, using the exchange protocol. Mail my username at gmail.com if you think I can help. Gateway: Exchange Protocol: O365Interactive OWA or EWS (Exchange) URL: https://outlook.office365.com/EWS/Exchange.asmx (follow the instructions at https://davmail.sourceforge.net/faq.html)", "context": "", "use_case": "Exchange email access", "switched_from": "", "story": "Putting email in its place with Emacs and Mu4e"}]}], "caveats": [{"label": "", "summary": "", "quotes": [{"id": 801197058, "item_id": 50074816, "url": "https://news.ycombinator.com/item?id=50074816", "by": "riedel", "date": "2026-10-13", "version": null, "stance": "warn", "quote": "We have a davmail gateway but it has quirks", "excerpt": "I use k9/thunderbird for private mail. But for my org's on prem exchange account I use nine folders, as I also want to sync calendar and contacts. (We have a davmail gateway but it has quirks)", "context": "org with on-prem Exchange", "use_case": "Exchange gateway", "switched_from": "", "story": "Thunderbird for iOS"}]}], "who": [], "tags": [], "use_cases": ["exchange gateway", "office365 to imap bridge", "exchange email gateway", "exchange mail gateway", "exchange/outlook email bridge", "exchange/o365 mail gateway"], "compared": [{"slug": "mu4e", "name": "mu4e", "co": 3, "switched_from": 0, "switched_to": 0}, {"slug": "msmtp", "name": "msmtp", "co": 2, "switched_from": 0, "switched_to": 0}, {"slug": "thunderbird", "name": "Thunderbird", "co": 2, "switched_from": 0, "switched_to": 0}], "makers": [], "threads": [{"url": "https://news.ycombinator.com/item?id=46140579", "title": "Putting email in its place with Emacs and Mu4e", "mentions": 7}, {"url": "https://news.ycombinator.com/item?id=50072913", "title": "Thunderbird for iOS", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=49925421", "title": "Terminal Email: terminal email clients for every system", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=45978423", "title": "Thunderbird adds native Microsoft Exchange email support", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=45842419", "title": "Remind: A sophisticated calendar and alarm program", "mentions": 1}], "sentiment_by_month": {"2025-11": {"neutral": 1, "recommend": 1}, "2025-12": {"recommend": 3, "neutral": 1}, "2026-01": {}, "2026-02": {}, "2026-03": {}, "2026-04": {}, "2026-05": {}, "2026-06": {}, "2026-07": {}, "2026-08": {}, "2026-09": {}, "2026-10": {"recommend": 1, "warn": 1}}, "versions": [], "version_unnamed": 0, "family_ref": null, "runs_on": null, "lines": [], "quotes": [{"id": 801197058, "item_id": 50074816, "url": "https://news.ycombinator.com/item?id=50074816", "by": "riedel", "date": "2026-10-13", "version": null, "stance": "warn", "quote": "We have a davmail gateway but it has quirks", "excerpt": "I use k9/thunderbird for private mail. But for my org's on prem exchange account I use nine folders, as I also want to sync calendar and contacts. (We have a davmail gateway but it has quirks)", "context": "org with on-prem Exchange", "use_case": "Exchange gateway", "switched_from": "", "story": "Thunderbird for iOS"}, {"id": 798829264, "item_id": 49926829, "url": "https://news.ycombinator.com/item?id=49926829", "by": "linuxdaemon", "date": "2026-10-01", "version": null, "stance": "recommend", "quote": "DavMail might solve the problem", "excerpt": "Assuming it's the auth stuff with 365 and the inability to create long-term app passwords; DavMail might solve the problem: https://sourceforge.net/projects/davmail/ It can handle the Office365 stuff (including Oauth2) and basically translates MS \"junk\" into standard protocols (POP, IMAP, CalDAV, CardDAV, etc). So if you got that to work, you could point getmail at davmail's imap port, and continue to use it like nor", "context": "", "use_case": "Office365 to IMAP bridge", "switched_from": "", "story": "Terminal Email: terminal email clients for every system"}, {"id": 739646368, "item_id": 46227898, "url": "https://news.ycombinator.com/item?id=46227898", "by": "setopt", "date": "2025-12-10", "version": null, "stance": "neutral", "quote": "Then I\u2019ll give that a shot", "excerpt": "Thanks! Then I\u2019ll give that a shot and email you if I get stuck :)", "context": "", "use_case": "", "switched_from": "", "story": "Putting email in its place with Emacs and Mu4e"}, {"id": 739573824, "item_id": 46223364, "url": "https://news.ycombinator.com/item?id=46223364", "by": "pfortuny", "date": "2025-12-10", "version": null, "stance": "recommend", "quote": "Davmail works for me on Linux and MacOS even from outside the intranet.", "excerpt": "You are repeating the very same history and excuses (from the IT Dpt.) I lived and heard. Davmail works for me on Linux and MacOS even from outside the intranet. Give it a try and I would be happy to help, I have a gmail account with my nick.", "context": "", "use_case": "Exchange email gateway", "switched_from": "", "story": "Putting email in its place with Emacs and Mu4e"}, {"id": 739560416, "item_id": 46222526, "url": "https://news.ycombinator.com/item?id=46222526", "by": "setopt", "date": "2025-12-10", "version": null, "stance": "recommend", "quote": "", "excerpt": "I actually haven\u2019t tried DavMail (but have heard about it), so if it manages to get around this sort of shenanigans I\u2019ll happily give that a shot. In my previous org I could also use offlineimap and msmtp to connect to their Microsoft mail server via standard protocols. But in this org I\u2019ve so far tried the built-in Exchange support in Thunderbird as well as in Evolution Data Server based exchange clients (Evolution ", "context": "", "use_case": "Exchange mail gateway", "switched_from": "", "story": "Putting email in its place with Emacs and Mu4e"}, {"id": 739526432, "item_id": 46220402, "url": "https://news.ycombinator.com/item?id=46220402", "by": "gloghmalogh", "date": "2025-12-10", "version": null, "stance": "recommend", "quote": "Basically DavMail connects to outlook at creates a local smtp and imap server", "excerpt": "Oh goodness, truthfully I'm not sure how well I understand it. I initially set it up a few years ago, and recently futzed with it after my organization changed something about their auth. My configs aren't really in a shareable state so I hope this ramble is at least somewhat helpful. Basically DavMail connects to outlook at creates a local smtp and imap server which I connect to with mbsyc and msmtp. Mu indexes thes", "context": "", "use_case": "Exchange/Outlook email bridge", "switched_from": "", "story": "Putting email in its place with Emacs and Mu4e"}, {"id": 739491793, "item_id": 46218237, "url": "https://news.ycombinator.com/item?id=46218237", "by": "DiscoMinotaur", "date": "2025-12-10", "version": null, "stance": "neutral", "quote": "I've been looking into using DavMail as an Exchange gateway", "excerpt": "I'm also using Mu4e for personal email but stymied by Exchange auth for work email. I've been looking into using DavMail as an Exchange gateway, does anyone have experience with this? https://davmail.sourceforge.net/images/davmailArchitecture.png", "context": "", "use_case": "", "switched_from": "", "story": "Putting email in its place with Emacs and Mu4e"}, {"id": 739489889, "item_id": 46218118, "url": "https://news.ycombinator.com/item?id=46218118", "by": "gloghmalogh", "date": "2025-12-10", "version": null, "stance": "recommend", "quote": "I have been able to use mu4e with my o365 account using davmail", "excerpt": "I have been able to use mu4e with my o365 account using davmail (https://davmail.sourceforge.net/). I will say it was a bit of a pain to get authentication right, and involved a lot of trial and error.", "context": "", "use_case": "Exchange/O365 mail gateway", "switched_from": "", "story": "Putting email in its place with Emacs and Mu4e"}, {"id": 739457712, "item_id": 46216107, "url": "https://news.ycombinator.com/item?id=46216107", "by": "pfortuny", "date": "2025-12-10", "version": null, "stance": "recommend", "quote": "succeeded in setting up a working davmail", "excerpt": "Hi, I guess you have already tried. My Uni also made it difficult but I succeeded in setting up a working davmail, using the exchange protocol. Mail my username at gmail.com if you think I can help. Gateway: Exchange Protocol: O365Interactive OWA or EWS (Exchange) URL: https://outlook.office365.com/EWS/Exchange.asmx (follow the instructions at https://davmail.sourceforge.net/faq.html)", "context": "", "use_case": "Exchange email access", "switched_from": "", "story": "Putting email in its place with Emacs and Mu4e"}, {"id": 735835840, "item_id": 45989740, "url": "https://news.ycombinator.com/item?id=45989740", "by": "kmarc", "date": "2025-11-19", "version": null, "stance": "recommend", "quote": "Used this setup with three companies, worked well", "excerpt": "Davmail is the shim I used to proxy OWA / exchange ansmd present an IMAP interface towards neomutt. Used this setup with three companies, worked well, and unified the UX instead of the different Gmail and Outlook web slowness.", "context": "", "use_case": "Exchange to IMAP proxy", "switched_from": "", "story": "Thunderbird adds native Microsoft Exchange email support"}, {"id": 734810322, "item_id": 45925645, "url": "https://news.ycombinator.com/item?id=45925645", "by": "SwiftyBug", "date": "2025-11-14", "version": null, "stance": "neutral", "quote": "I've tried a combination of davmail, vdirsyncer, and calcurse. While this works, it's not a great experience.", "excerpt": "This is awesome! I've been looking for something to use as my calendar app. I just moved from macOS to Linux. On macOS I used the default calendar app. Because I still have an iOS device, I'd like to sync iCloud events with my computer. I've tried a combination of davmail, vdirsyncer, and calcurse. While this works, it's not a great experience. Calcurse doesn't seem to handle timezones very well and, for a TUI, it ha", "context": "", "use_case": "syncing iCloud/Exchange calendars", "switched_from": "", "story": "Remind: A sophisticated calendar and alarm program"}]}