Terminal Email

mblaze vs nmh

mblaze: Set of small Unix utilities for reading, searching, threading and composing mail stored in Maildir folders.
nmh: The MH message handling system: separate shell commands to read, file, search and send mail stored one file per message.

Differences

Side by side

mblazenmh
InterfaceCommand-line tools and promptsCommand-line tools and prompts
LanguageCC
LicenseCC0 1.0 and MITBSD 3-Clause
Latest version1.41.8
LinuxNativeNative
macOSNativeNative
WindowsThrough WSLThrough WSL
BSDNativeNative
AndroidNoThrough Termux
IMAPThrough a separate toolThrough a separate tool
POP3Through a separate toolYes
SMTPThrough a separate toolYes
JMAPNoNo
MaildirYesYes
mboxNoYes
notmuchNoNo
OpenPGPvia contrib scriptsNo
S/MIMENoNo
OAuth2 sign-inNoNo
ThreadsYesNo
Searchmpick and magrep filter messages by headers, flags and contentpick command matches header fields and message text
HTML mailvia a filter command in ~/.mblaze/filter used by mshowvia mhshow with an external converter such as w3m
MouseNoNo
Multiple accountsvia separate Maildirs and profile settingsvia per-command switches or separate profiles
Offline usefull; works only on local Maildirfull; messages are stored as local files
CalendarNoreplies to invitations with mhical
ContactsNoaliases via MailAliases and the ali command
Vim-style keysNoNo
Configuration~/.mblaze/profile (header-style key: value lines)~/.mh_profile and mts.conf text files

Which to choose

Choose mblaze for

  • Each command does one job, so mail handling is easy to combine in pipes and scripts.
  • Works directly on Maildir with no index or database to maintain.
  • Small C programs with no external library dependencies.

Watch out for

  • No built-in IMAP, POP3 or SMTP; needs mbsync and msmtp or similar tools.
  • Command-line only, with no full-screen interface.
  • OpenPGP and S/MIME handling relies on unsupported contrib scripts.

Install mblaze

Choose nmh for

  • Every action is a shell command, so mail handling is easy to script.
  • One file per message lets grep, find and other Unix tools work on mail.
  • Built-in POP3 and SMTP with TLS and SASL; reads mbox and Maildir drops.

Watch out for

  • No IMAP; IMAP mail must be synced to a Maildir first and then incorporated.
  • No built-in OpenPGP or S/MIME, and no thread view.
  • SMTP authentication needs nmh built with Cyrus SASL and its PLAIN or LOGIN plugin.

Install nmh

Questions

What is the difference between mblaze and nmh?

Only nmh has built-in POP3, SMTP and mbox. On Android, mblaze is not available and nmh runs through Termux. nmh has calendar support; mblaze does not.

Which runs on Windows, mblaze or nmh?

On Windows, mblaze runs through WSL. On Windows, nmh runs through WSL.

See also: mblaze alternatives, nmh alternatives.