rcvpack(1)

rcvpack1

Append message to file

Usage

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

Overview

The rcvpack program will append a copy of the message to the file listed on its command line.

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

If the -mmdf switch is given, then the messages are separated by mmdf style delimiters. Each message in the file is separated by four CTRL-A's and a newline.

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

In general, its use is obsoleted by the file action of slocal, although it might still have occasional uses in various shell scripts.

Files

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

Releases

9 releases since Debian 2.0 (Hamm); the text changed 7 times.

  1. 2.0
  2. 2.1
  3. 2.2
  4. 3.0
  5. 3.1–4.0
  6. 5.0
  7. 6.0
  8. 7

Bugs

Only two return codes are meaningful, others should be.

From nmh 1.5-release-0.2 in Debian 7 (Wheezy). Parsed by carta from the page's man source.