muttrc

#set folder=~
#set mbox=~/mbox
#set record=~/Sent
#set spoolfile=$MAIL
set sendmail="~/bin/muttsend"
set hostname="my.example"

Prefer to use Maildir

set mbox_type=Maildir
set folder="~/Maildir/INBOX"
set mask="."
# http://wiki.dovecot.org/mutt
set move=no

Exim did not support dsn so comment off

#set dsn_notify="failure,delay,success"
#set dsn_return=hdrs
#macro index _ "c $MAIL^m" "New Messages"
#macro index - "c ~/mbox^m" "Received Messages"

Can set some macros for remote imap connections

macro index 3 "c imap://user@imap1.example/" "pass1"
macro index 4 "c imap://other@imap2.example" "pass2"
my_hdr Disposition-Notification-To: Example User <user@my.example>