Manual Page Search Parameters

MFLAG(1) General Commands Manual MFLAG(1)


mflagmanipulate maildir flags


mflag [-DFPRST] [-X str]
[-dfprst] [-x str]
[-v] [msgs ...]


mflag changes the flags of the specified maildir msgs according to the options supplied. (See mmsg(7) for the message argument syntax.)
The options are as follows:
Mark msgs as draft.
Mark msgs as flagged.
Mark msgs as passed (resent/forwarded/bounced).
Mark msgs as replied.
Mark msgs as seen.
Mark msgs as trashed.
-X str
Mark msgs with the characters in str.
Unmark msgs as draft.
Unmark msgs as flagged.
Unmark msgs as passed (resent/forwarded/bounced).
Unmark msgs as replied.
Unmark msgs as seen.
Unmark msgs as trashed.
-x str
Unmark msgs with the characters in str. (Remember to use uppercase characters.)
Read messages from the standard input (or use the whole current sequence, if used interactively) and print the transformed list of filenames. This can be used to keep the sequence intact in the case of renames.
Note that the link to ${MBLAZE:-$HOME/.mblaze}/cur is updated in all cases, when affected.


The mflag utility exits 0 on success, and >0 if an error occurs.


Using maildir format


Leah Neukirchen <>


mflag is in the public domain.
To the extent possible under law, the creator of this work has waived all copyright and related or neighboring rights to this work.
July 22, 2016 x86_64