<<< Date Index >>>     <<< Thread Index >>>

Re: Vanished Messages



* Dave Edwards <erratico@xxxxxxxxxxxx> [Tue, Jul 13, 2004 at 02:06:31AM -0400]:

> I accidentally deleted all the msgs in my sent-mail box ( D., c,
> purge? yes).  However those messages are not in my trash box.  They
> seem to have vanished.  Does anyone have an idea how this could be?

When I first tried to build my own .muttrc, I found this on the web,
which I still use:

## ----------------------------------------------------------------------------
##   Deletion
## ----------------------------------------------------------------------------

macro   index u "<undelete-pattern>~D\n" "Undelete all"

# This makes mutt behave a little more like some imap clients by
# moving messages to the Trash folder when they are deleted. Once
# in the Trash folder, D will purge the trash folder, and d will
# delete one at a time.  Unfortunately, the delete-pattern macro
# doesn't save to Trash, so be warned.

folder-hook . 'macro index D "<delete-pattern>"'
folder-hook . 'macro index d "<save-message>=trash<enter>"'
folder-hook . 'macro pager d "<save-message>=trash<enter>"'
folder-hook =trash 'macro index D "<delete-pattern>~A\n"'
folder-hook =trash 'macro index d "<delete-message>"'
folder-hook =trash 'macro pager d "<delete-message>"'

-- 
Philippe Berini