ambevar-dotfiles/.muttrc

51 lines
1.7 KiB
Plaintext

#-------------------------------------------------------------------------------
# Multiple accounts
#-------------------------------------------------------------------------------
set my_ac_personal=personal
set my_ac_work=work
set my_ac_university=university
folder-hook '$my_ac_personal' 'source ~/.mutt/$my_ac_personal'
folder-hook '$my_ac_work' 'source ~/.mutt/$my_ac_work'
folder-hook '$my_ac_university' 'source ~/.mutt/$my_ac_university'
# Switch to default account on startup
#source ~/.mutt/$my_ac_personal
source ~/.mutt/$my_ac_work
#source ~/.mutt/$my_ac_university
macro index <f2> '<sync-mailbox><enter-command>source ~/.mutt/$my_ac_personal<enter><change-folder>!<enter>'
macro index <f3> '<sync-mailbox><enter-command>source ~/.mutt/$my_ac_work<enter><change-folder>!<enter>'
macro index <f4> '<sync-mailbox><enter-command>source ~/.mutt/$my_ac_university<enter><change-folder>!<enter>'
#-------------------------------------------------------------------------------
# Receiving options
#-------------------------------------------------------------------------------
# Store message headers locally to speed things up.
set header_cache = ~/.mutt/hcache
# Allow mutt to open new imap connection automatically.
unset imap_passive
# Keep imap connection alive by polling intermittently (time in seconds).
set imap_keepalive = 300
# How often to check for new mail (time in seconds).
set mail_check = 120
bind index "^" imap-fetch-mail
#-------------------------------------------------------------------------------
# Sending options
#-------------------------------------------------------------------------------
set mbox_type=Maildir
set edit_headers=yes
#set folder=~/mail
#set mbox=+mbox
#set record=+sent
#set postponed=+drafts