X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/fbf79b6c0f46fe46c9fbdf95b38d89834f1a54d3..483574f6238c9a8367c8bb29470350b026432e9b:/.mutt/hooks diff --git a/.mutt/hooks b/.mutt/hooks index f5e8c73..3201f6c 100644 --- a/.mutt/hooks +++ b/.mutt/hooks @@ -1,5 +1,8 @@ save-hook . =store +send-hook . 'set record==store' +send-hook '~f phd(\\+.+)?@martin-krafft\\.net' 'set record==phd' + #send-hook '~C @bugs\.debian\.org' 'my_hdr X-Debbugs-No-Ack: please spare me' send-hook '~C @packages\.qa\.debian\.org' 'my_hdr X-PTS-Approved: please' #send-hook '~C -request@' 'my_hdr X-Record: discard' @@ -28,4 +31,12 @@ folder-hook spam push '~On folder-hook store push '~O|~Nn*' +# since I have delete=yes, messages marked for trashing on mailbox entry must +# be due to IMAP clients or the like not purging them. I found that some +# clients automatically trash read mail from the INBOX, for *whatever* reason. +# I have not found the authors of those clients yet. In the mean time, since +# messages are not expected to be marked for deletion on mailbox entry, the +# following ensures that I lose no more mail. +folder-hook . push '~D' + # vim:ft=muttrc