dotfiles/mail/.config/mutt/accounts/nullpointer

23 lines
1,002 B
Text

# clear previously defined mailboxes
#unmailboxes *
set mbox = "+nullpointer/Archive"
set postponed = "+nullpointer/Drafts"
set trash = "+nullpointer/Trash"
set record = $XDG_DATA_HOME/mutt/record/sent
set realname = "George Rawlinson"
set from = "george@nullpointer.io"
# smtp settings
set smtp_pass = `pass mail/george@nullpointer.io`
set smtp_url=smtp://$from@mail.gandi.net:587
# nullpointer specific macros
macro index A "<save-message>+nullpointer/Archive<enter>" "move message to the archive"
macro index S "<save-message>+nullpointer/Spam<enter>" "mark message as spam"
macro index D "<save-message>+nullpointer/Trash<enter>" "move message to the trash"
# tag macros
macro index \Ca "<tag-prefix-cond><save-message>+nullpointer/Archive<enter>" "move tagged messages to archive"
macro index \Cs "<tag-prefix-cond><save-message>+nullpointer/Spam<enter>" "move tagged messages to spam"
macro index \Cd "<tag-prefix-cond><save-message>+nullpointer/Trash<enter>" "move tagged messages to trash"