Neomutt
Limit Feature. Search syntax.
A normal search will search the given text in the From, To, Subject, Cc, and Date header.
Patterns:
~f senderonly match messages from thissender~s subjectonly match messages with thissubject~b bodymatch textbodyin the email body~d datematch messages by date
Logical Operators:
|OR&AND
Match on email flags:
~Nnew message~Uunread message~Ddeleted message~Fflagged message~Oold message
To reset the limit filter, use the filter text all.
Automaically add nested mailboxes
In neomuttrc file:
mailboxes \
+Inbox \
+Drafts \
+Outbox \
+Sent \
`find {{ mail_data_dir }} \
-type d \
-name cur \
-not \( \
-path "*/Inbox/*" -o \
-path "*/Drafts/*" -o \
-path "*/Sent/*" -o \
-path "*/Spam/*" -o \
-path "*/Trash/*" \
\) \
-printf "'%h' " \
| sort -t/` \
+Spam \
+Trash