James Power <[EMAIL PROTECTED]> wrote on Mon, 06 Nov 2000:
> I'm new to mutt and wonder if there's a way for mutt to
> set up a trashbox. That is to say, whenever I delete a
> mail, it go into the trashbox; the "garbage" in the trashbox
> will be emptyed on demand or periodically.
macro index d "<save-message>=trash<enter>"
macro pager d "<save-message>=trash<enter>"
This will always save the message to the folder "=trash" whenever you
"delete" it, and mark it for deletion from the current folder. You have
to clean up =trash yourself when you want it, possibly from the command
line manually, or from a crontab entry for periodic execution.
There's unfortunately no way to create a similar macro for D
(the delete-pattern function). But ;d (tag-prefix followed by d)
will work, for "deleting" tagged messages in this way.
Hope this helps,
Mikko
--
// Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/
// The Corrs list maintainer // net.freak // DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
Cheap, Fast, Good -- pick any two. You can't have all three.