Using UNIX mail/mailx with a modern mail server (IMAP instead of mbox files)

emailimapmac-osx

I have a user who's an old time unix guy, he's been managing his email using the same tools (unix mail/Mail/mailx) since he started work at Bell labs in 1980. So he's got 20+ years of mail and associated shell variables he uses for filing mail and he'd like to continue using this system. He's had a rough time since we migrated mail from a Solaris 8 mail server to something more modern (Zimbra). He hates graphical email clients and web mail and although he's been running Alpine connecting via IMAP he is desperate to get back to using mailx managing his mail. Our new mail server only provides IMAP/POP/web access, what's the best way to allow him to use unix mail to get his mail?

Best Answer

Heirloom mailx is an updated version of unix mail/mailx formerly known as 'nail' which supports IMAP & SMTP with AUTH over SSL. There's even an OSX binary package.

Update: Although the last official OSX alpine binary (1.10) functioned, subsequent releases have got even better and the user ended up being quite happy with alpine entirely replacing 'Mail'. Current Alpine binaries (OSX & Windows) and active development continues over at patches.freeiz.com.

Update2: He continues to run Alpine, but Alpine 2.20 which is now a simple brew install alpine away. No fancy patches required.

Related Topic