Name

reformail — E-mail reformatting tool

Synopsis

reformail -s command [option...]

reformail -D len filename

reformail -x header:...

reformail -X header:...

reformail [options...]

DESCRIPTION

The reformail program reads a message on standard input, reformats it in some way, and writes the message to standard output:

Splitting mailboxes into individual messages

The -s option splits the mbox-formatted mailbox file on standard input into individual messages. An external program is executed for each message. The contents of each individual message will be provided to the external program on standard input.

If the FILENO environment variable is set to a number, reformail will consecutively increment FILENO each time the program is executed for each individual message.

If