X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/c3a03e540dae7adafed0124b1a83c63436b597d7..refs/heads/cadscan:/mutt/hooks?ds=inline diff --git a/mutt/hooks b/mutt/hooks index fa323c2..ccc2334 100644 --- a/mutt/hooks +++ b/mutt/hooks @@ -1,6 +1,22 @@ # vim: ft=muttrc +reply-hook . source ~/.mutt/accounts/gmail +reply-hook "%L chakra" source ~/.mutt/accounts/chakra +reply-hook "%L unimaas" source ~/.mutt/accounts/unimaas +reply-hook "%L cadscan" source ~/.mutt/accounts/cadscan + folder-hook . source ~/.mutt/accounts/gmail folder-hook chakra source ~/.mutt/accounts/chakra folder-hook unimaas source ~/.mutt/accounts/unimaas +folder-hook cadscan source ~/.mutt/accounts/cadscan folder-hook * "exec collapse-all" + +# limit inbox to Unread and Flagged mails +folder-hook inbox push '=(=U|=F)' +# delete mails older than 3 months +folder-hook inbox push '!~(~U|~F|~d<3m)' + +# limit youtube to Unread and Flagged mails +folder-hook youtube push '=(=U|=F)' +# delete other mails +folder-hook youtube push '!~(~U|~F)'