For a few years now I have been using mutt for handling my private emails and Thunderbird for work related stuff, mainly because the former is less than stellar at handling mailing lists and the latter is at least bearable for mailing lists. These days my private email address is on a lot of mailing lists, too and this kind of arrangement may yet force me to use Thunderbird for my private email addresses.
This project is about coming up with a solution that lets me continue to use mutt where it is sensible (i.e. INBOX) and enables handling mailing lists through something designed for the purpose: a NNTP newsreader such as (gnus, KNode, pan, slrn, tin, ...). To this end I plan on cobbling together a Maildir backed local NNTP server with some plumbing to...
- ...expose IMAP folders as newsgroups
- ...turn postings to these newsgroups into emails sent to the corresponding list.
Bonus points: Hack up the server side component and one or more news readers of to support NNTP through a Unix Domain Socket to make the whole thing suitable for multi user machines where user would have access to 127.0.0.1.
I already dug up a few things that might be handy in building this sort of thing:
- https://github.com/bingos/poe-component-server-nntp/ - A perl module for building NNTP servers
- https://github.com/jpm/papercut - A modular NNTP server that supports adding storage plugins (current favourite since it probably won't need a lot of modification)
- http://www.offlineimap.org/ - synchronizes an IMAP account with a local folder (bidirectional, i.e. it will send changes in the maildir to the IMAP account as well)
- esmtp - lightweight mail transfer agent (accepts emails on STDIN, will send them to the smarthost in its configuration)
This project is one of its kind!