set from = "s.rademacker@hoerspielsommer.de"
set sendmail = "/usr/local/bin/msmtp -a hsv"

# Set folders
set spoolfile = "+hsv/INBOX"
set mbox = "+hsv/archive"
set postponed = "+hsv/drafts"
set record = "+hsv/sent"
set trash = "+hsv/trash"

# Alternate email addresses.
alternates ^s.rademacker@hoerspielsommer.de$

# custom signaure
set signature = ~/.mutt/signatures/hsv

color status magenta default

macro index o "<shell-escape>mbsync hsv<enter>" "run mbsync to sync mail for this account"

macro index,pager J \
  "<enter-command>set my_old_resolve=\$resolve noresolve<enter>\
  <tag-prefix><clear-flag>n<enter-command>set resolve=\$my_old_resolve<enter>\
  <save-message>+hsv/junk<enter>" \
  "mark as read and move to junk folder"

macro index,pager A \
  "<save-message>+hsv/archive<enter>"  \
  "move message to the archive"

macro index,pager I \
  "<save-message>+hsv/INBOX<enter>"  \
  "move message to the inbox"
