dotfiles/mutt/.mutt/accounts.conf

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
1.7 KiB
Text
Raw Normal View History

# vim: set ft=muttrc
# Load the default account information
source ~/.mutt/accounts/sanchayan-net
# Create some macros to switch between accounts
macro generic,index,pager 1 '<enter-command>source ~/.mutt/accounts/sanchayan-net<Enter><change-folder>=sanchayan-net/Inbox/<Enter>'
macro generic,index,pager 2 '<enter-command>source ~/.mutt/accounts/sanchayan<Enter><change-folder>=sanchayan/Inbox/<Enter>'
macro generic,index,pager 3 '<enter-command>source ~/.mutt/accounts/asymptotic<Enter><change-folder>=asymptotic/Inbox/<Enter>'
macro generic,index,pager 4 '<enter-command>source ~/.mutt/accounts/fastmail<Enter><change-folder>=fastmail/Inbox/<Enter>'
macro generic,index,pager 5 '<enter-command>source ~/.mutt/accounts/sanchayan-com<Enter><change-folder>=sanchayan-com/Inbox/<Enter>'
# Default to my normal account
message-hook '~t .*' 'source ~/.mutt/accounts/sanchayan-net'
# Move emails to the trash folder when deleting, unless you are in the trash folder
folder-hook trash$ unset trash
# Add some message hooks to automatically select the proper account when replying to an email
message-hook '~t ^sanchayan@sanchayanmaity\.net$' 'source ~/.mutt/accounts/sanchayan-net'
message-hook '~t ^sanchayan@sanchayanmaity\.com$' 'source ~/.mutt/accounts/sanchayan-com'
message-hook '~t ^me@sanchayanmaity\.net$' 'source ~/.mutt/accounts/sanchayan-net'
message-hook '~t ^me@sanchayanmaity\.com$' 'source ~/.mutt/accounts/sanchayan-com'
message-hook '~t ^sanchayan@asymptotic\.io$' 'source ~/.mutt/accounts/asymptotic'
message-hook '~t ^maitysanchayan@gmail\.com$' 'source ~/.mutt/accounts/sanchayan'
message-hook '~t ^maitysanchayan@fastmail\.com$' 'source ~/.mutt/accounts/fastmail'