From 57ef401a11f11324a01408820596f87059aba6a2 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Wed, 13 Nov 2024 12:37:56 +0530 Subject: [PATCH] mutt: accounts: Add missing message hooks We still will probably get mails from sanchayan@domain. Add a message hook to select the correct account for the same. --- mutt/.mutt/accounts.conf | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/mutt/.mutt/accounts.conf b/mutt/.mutt/accounts.conf index cc29266..f6d1e7e 100644 --- a/mutt/.mutt/accounts.conf +++ b/mutt/.mutt/accounts.conf @@ -17,8 +17,10 @@ message-hook '~t .*' 'source ~/.mutt/accounts/sanchayan-net' folder-hook trash$ unset trash # Add some message hooks to automatically select the proper account when replying to an email -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' +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'