Hacker News new | ask | show | jobs
by eu 1587 days ago
I’d love to see a setup where I could keep the emails on a Linux box in the house (the messages are fetched regularly from the “real” email server), you know what I mean?

Sending would probably be easier ( use a real smtp server)…

5 comments

I use mbsync (formerly isync) to synchronize multiple external mailboxes to a local Maildir store. I use it with mu4e, but it'd work fine with mutt or any other client that supports Maildir.

https://isync.sourceforge.io/

I second this. I used offlineimap for a long time, but isync(mbsync) is soooooo much faster at syncing mail.
I pair this with imapnotify (keeps a constant connection to each of the IMAP servers for the email addresses I have) that calls mbsync the moment I get a new email. It was a bit annoying to set up at the time but now my (neo)mutt client updates pretty much instantly with any new email.
getmail, fetchmail, and offlineimap all work well for this. I currently use getmail and offlineimap (on different boxes) to fetch emails over IMAP, and configure mutt to use my usual smtp to send.
Sounds like something you'd use getmail, fetchmail, or another mail retrieval agent for: https://en.wikipedia.org/wiki/Getmail
Neither a mutt, nor an offlineimap user, but I believe those two are often used in combination: http://www.offlineimap.org/
I use offlineimap with bower[0], it works well.

[0] https://github.com/wangp/bower