mexport(1)

mexport1

Export messages as mbox file

Usage

mexport [-S] msgs ...

Overview

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:

-S

Add ‘Status:’ and ‘X-Status:’ headers according to the msgs maildir flags.

Exit status

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

Releases

Unchanged in 4 releases since Debian 10 (Buster).

  1. 10–13

Authors

Leah Neukirchen ⟨[email protected]⟩

License

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.

http://creativecommons.org/publicdomain/zero/1.0/

From mblaze 1.1-1 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.