mutt: sending via multiple accounts with esmtp

I found it much easier to set up multiple smtp accounts for mutt using esmtp than anything else. It’s actually completely straightforward — just make esmtp do all the work …

  • install esmtp
  • create your ~/.esmtprc file
    • man esmtprc — seriously, it’s easy
  • add the following to your ~/.muttrc
set sendmail=”/usr/bin/esmtp”
set use_envelope_from