source "$HOME/.mutt/rc-common"
source "pass Accounts/mutt-work |"

set sendmail  = "msmtp -a work"

unmy_hdr *
my_hdr Precedence: first-class
my_hdr Priority: normal
my_hdr X-Editor: `vim --version | head -n1 | cut -d"(" -f1`
my_hdr X-Operating-System: `uname -rms`
my_hdr X-Mailer: `mutt -v | head -1`

set attribution   = "\n\nSender: %n\nDate: %D\nTo: %r\nCc: %R\nSubject: %s\n\n"
set indent_string = ""
set text_flowed = no

set spoolfile           = imaps://imapexo.global.corp.sap/INBOX
set folder              = imaps://imapexo.global.corp.sap
set postponed           = imaps://imapexo.global.corp.sap/Drafts
set record              = imaps://imapexo.global.corp.sap/Gesendete\ Elemente
set trash               = imaps://imapexo.global.corp.sap/Gelöschte\ Elemente
set realname            = "Hagen, Stefan"

unset signature

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

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

source ~/.mutt/rc-common
