I used to have a "homely mutt"[1] kind of setup but eventually got tired of offline imap, msmtp, and all that.
Now I use mutt only directly on the server running exim. Painless support for multiple domains, completely arbitrary from addresses with no configuration necessary, no imap, no magic directories showing up for no reason, no weird certificates, just pure ssh... It's the way to do it.
Otherwise, I stick to generic clients (Google webmail and Android app).
Mutt has had excellent built-in SMTP/IMAP/POP3 support for years. I'm always surprised to see guides suggesting helpers like msmtp, offlineimap, etc. And with a few macros and save-hooks that you'll only write once, you'll have a fast, flexible mail client that will beat nearly any GUI client in mail processing speed.
what if you do understand the internet and stay away from centralized third party solutions and rather self-host your email because it is too sensitive to give away to giant corporations ?
I don't really understand this comment. You can host exim+mutt anywhere. With a megacorp, in the cloud, even under your bed... The only problem you face is getting the giants to accept your mail so you will probably want another server acting as a smarthost if you host at home.
I also don't remember being involuntarily offline in the last four years so I don't optimize for it any more. Plus, it's email. It will be there when I get to it. You can incur hours of downtime and other servers will just dutifully keep trying to deliver messages. It's a pretty laid back service.
Well-configured other servers will just dutifully keep trying to deliver messages. There are plenty of less well configured servers out there.
For instance, I have greylisting configured on my primary SMTP server, but no greylisting on my secondary (because it's run by a friend, not me). Some servers will contact mine, offer a message, get told "try again", and just not bother, even though they could try the secondary and get through straight away. Other servers will give up after failing to deliver for 30 minutes.
"completely arbitrary from addresses with no configuration necessary"
That is the main reason I still use mutt. I like to be able to edit my from header when sending messages without having to pre-create virtual identities and then pick from a list. I asked for this functionality to be added to Evolution but apparently my use case wasn't common enough.
I use unison to synchronize maildirs between the machine that receives mail and the machines where I read it. It has worked quite well, especially for catching up on my mailing list backlog while on a plane.
I've got tired of IMAP too. Now I just sync my maildir using Syncthing (Pulse). I can use mutt both on the server and on my local machines, everything gets synchronized.
seconded- especially now that notmuch-inject exists. When I first started playing with mutt-kz, I had some difficulty getting the flow through procmail into notmuch, but it's pretty painless now. I've been using it daily for 2-3 years and can't imagine working without it now.
Are there any projects trying to reduce the email-server complexity on linux?
Mailpile seem to be going in the right direction on the client side, but I have yet to find any self-contained MTA/IMAP solution. With self-contained I mean its configured in one location, doesn't use linux users and has easily extendable storage options.
Soverign provides a good basis for an email server setup. It describes itself as a "set of Ansible playbooks to build and maintain your own private cloud: email, calendar, contacts, file sync, IRC bouncer, VPN, and more."
iRedMail is a integrated set of scripts to install and configure a full-featured email server setup using free software components: http://www.iredmail.org/
Is anyone here using GNUS as their daily email client? I used to use mutt back in the day, and I was kind of surprised that the author was using emacs with mutt rather than just using emacs.
That said, I got as far as getting emacs / gnus to sync a gmail account before realizing that I'd need to spend some serious time reading manuals and tweaking configuration before I'd be able to use it day to day.
I use gnus. On my desktop I run offlineimap+fastmail, on my laptop I just use fastmail directly.
Gnus is great for reading/posting to Gmane newsgroups, I would use it for that even if I switched to something else for reading email. For plain mail reading it actually could be a lot better. For example, support for seeing your own replies in a thread is a bit flaky (notmuch.el is better for that), and since Emacs is single-threaded, sending large attachments blocks it (perhaps I should use that relay trick from the article, but then it's not often I use email for sharing big files).
I could still run it. I have a .gnus file that works with my current accounts (all Gmail/Apps accounts).
The problem with Gnus is that nnimap is unbearably slow and quirky in its own ways, and nnmaildir, which you'd ideally use with something like offlineimap to make Gnus work on a local copy for speed, is such a weird non-standard one-off backend that it's really hard to sync back to the server.
At least that was true a couple of years ago when I last made a serious attempt to use it. I think the modern emacs mail approach is probably either notmuch.el or mu4e, whichever interface you prefer.
I'm looking at the webpage now. Sounds like it tries to resolve some of the thread locking issues. Not sure I'd use the orgmode -> rich text email feature, but that is pretty awesome. Anything in particular you find superior to GNUS or otherwise useful?
Well, the idea behind mu is to use searches to filter your email
instead of using imap folders. Indexing does feel a little slow
sometimes, but it is far better than writing procmail rules to filter
email.
Then, in mutt I have the double-quote mapped to a macro that executes a shell command to split the tmux window and launch a read-only instance of mutt:
This is my way of having an "async compose" pane for writing emails. I had tried replacing the mutt EDITOR variable with a command that splits the window and launches vim, but there are a lot of annoyances with that approach. Launching another mutt is way easier, and it also allows for easily viewing two emails at once.
That said, there are a lot of nice tips in here that I'll incorporate into my setup. Thanks for posting!
Very nice. My biggest objection is to Mutt (which I agree sucks less than many options). It is not clear to me that "mail client" is one job - I find myself happiest with nmh.
Now I use mutt only directly on the server running exim. Painless support for multiple domains, completely arbitrary from addresses with no configuration necessary, no imap, no magic directories showing up for no reason, no weird certificates, just pure ssh... It's the way to do it.
Otherwise, I stick to generic clients (Google webmail and Android app).
[1] http://stevelosh.com/blog/2012/10/the-homely-mutt/