rcvpack(1mh)

rcvpack1mh

Append an email from standard input to a file

Usage

/usr/lib/mh/rcvpack [-help] [-version] file [-mbox] [-mmdf]

Overview

rcvpack appends a copy of a message to the file specified on its command line.

If the -mbox switch is given (the default), messages are separated by mbox (uucp) style delimiters. This is the format used by most mail clients (elm, mailx, etc.).

Alternatively, if the -mmdf switch is given, messages are separated by mmdf style delimiters, each message being separated by four CTRL-A's and a newline.

rcvpack will correctly lock and unlock the file to serialize access when running multiple copies of rcvpack.

In general, rcvpack has been rendered obsolete by the file action of slocal, although it may still have some use in shell scripts.

Files

^/etc/nmh/mts.conf~^nmh mts configuration file

Releases

6 releases since Debian 8 (Jessie); the text changed 4 times.

  1. 8
  2. 9
  3. 10–11
  4. 12
  5. 13

Bugs

Only two return codes are meaningful, others should be.

From nmh 1.8-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.