Manual Page Search Parameters

MEXPORT(1) General Commands Manual MEXPORT(1)

export messages as mbox file

mexport [
] msgs ...

mexport writes the specified msgs to the standard output as an MBOXRD file. (See mmsg(7) for the message argument syntax.)
If no msgs are specified, mexport reads filenames from the standard input, or uses the messages in the current sequence if used interactively.
mexport uses the ‘Return-Path:’ (or ‘X-Envelope-To:’) and ‘Date:’ headers from each message for the mbox ‘From ’ line.
The options are as follows:
Add ‘Status:’ and ‘X-Status:’ headers according to the msgs maildir flags.

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

mdeliver(1), maildir(5), mbox(5)
MBOXRD Email Format
Using maildir format

Leah Neukirchen <>

mexport 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.
August 19, 2016 x86_64