From SysadminPunk Wiki!
Open Mailbox with Mutt
mutt -f /home/username/Maildir/
- Now you are in the Mailbox from the command line
Tag Email
Shift+T
- then enter Tag Espression ( See below)
- Once messages are tagged we must tell Mutt what to do with the messages that are tagged, we use ;
; d
- to Delete all tagged messages
To tag a date range, use the following Expressions
T ~d 1/10-31/10
- To tag emails with Date 10/1-10/31
T ~d -31/10
- To tag emails before Oct, 31.
T ~d 1/10-
- For anything after Oct, 1.)
To tag for Subject
T -s Error Email
- To tag all emails with Subject "Error Email"
To tag all message to: or cc:
T -C blade5k
- To tag all emails with to: or cc: 'blade5k'
http://www.mutt.org/doc/devel/manual.html#patterns