2024-10-31 16:58:30 +01:00
|
|
|
# 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
|
2024-11-13 08:07:56 +01:00
|
|
|
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'
|