source ~/.mutt/rc-common
source "pass Local/mutt-gmx |"

set sendmail  = "msmtp -a gmx"

unmy_hdr *
my_hdr Precedence: first-class
my_hdr Priority: normal

set text_flowed = yes
set indent_string = "> "

set imap_delim_chars='/'
set spoolfile           = imaps://imap.gmx.net/INBOX
set folder              = imaps://imap.gmx.net
set postponed           = imaps://imap.gmx.net/Drafts
set record              = imaps://imap.gmx.net/Sent
set trash               = imaps://imap.gmx.net/Trash
set realname            = "Paul Sanders"

unset signature

set ssl_starttls  = yes
set ssl_force_tls = yes
set mail_check    = 120
set timeout       = 15

macro index <f5>  "<change-folder> =INBOX<enter>"              "go to INBOX"
macro index <f6>  "<change-folder> =Virtual/1-Unread<enter>"   "go to UNREAD"
macro index <f7>  "<change-folder> =Virtual/3-LastWeek<enter>" "go to LAST WEEK"
macro index <f8>  "<change-folder> =Virtual/4-Flagged<enter>"  "go to FLAGGED"
macro index <f9>  "<change-folder> =Virtual/5-All<enter>"      "go to ALL"

account-hook $folder "set imap_user=$imap_user imap_pass=$imap_pass"
