From 87fd681e3812efa1130bd6b523c66c85c0b0d8aa Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 20 Jun 2008 18:14:07 +0200 Subject: [PATCH 1/1] undelete deleted messages on mailbox entry --- .mutt/hooks | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.mutt/hooks b/.mutt/hooks index f5e8c73..ef4d92a 100644 --- a/.mutt/hooks +++ b/.mutt/hooks @@ -28,4 +28,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 -- 2.39.5