[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to create mutt trash folder

how to create mutt trash folder

Adding these macros to your .muttrc file:

## Mutt Trash Folder Hooks
unset confirmappend
macro index d " sMail/Trash\ni"
macro pager d " sMail/Trash\n"

when you type "d" - delete a message and "s" - save to folder Mail/Trash".
"\n" - return; "i" back to index.

If you actually want to delete a message and not copy to trash and delete it (or if you want to 
delete something IN the trash folder) then add this alias:

## Mutt Trash Folder Delete
bind index D delete-message
bind pager D delete-message

Then CAPITAL D will delete a message without copying it to the trash folder.