# 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 'source ~/.mutt/accounts/sanchayan-net=sanchayan-net/Inbox/' macro generic,index,pager 2 'source ~/.mutt/accounts/sanchayan=sanchayan/Inbox/' macro generic,index,pager 3 'source ~/.mutt/accounts/asymptotic=asymptotic/Inbox/' macro generic,index,pager 4 'source ~/.mutt/accounts/fastmail=fastmail/Inbox/' macro generic,index,pager 5 'source ~/.mutt/accounts/sanchayan-com=sanchayan-com/Inbox/' # 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'