From: martin f. krafft Date: Fri, 20 Jun 2008 16:14:07 +0000 (+0200) Subject: undelete deleted messages on mailbox entry X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/87fd681e3812efa1130bd6b523c66c85c0b0d8aa?ds=inline undelete deleted messages on mailbox entry --- 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