Don Marti

Fri 19 Dec 2008 10:50:55 AM PST

One .muttrc, two accounts

I keep all my mail in one place, now. Now set up to reply to No Starch Press mail with my .nostarch.com address and .signature, and personal mail with my personal address and .signature. Here are the relevant lines from .muttrc:

set from="dmarti@zgp.org"
alternates dmarti@nostarch.com
set reverse_name
set signature="~/.signature"
send-hook '~f dmarti@nostarch.com' \
  set signature="~/.signature-nsp"

Should be pretty self-explanatory, except for reverse_name which just uses my name and address as they appear in the mail I'm replying to.