DOKK / manpages / debian 10 / mmh / rcvpack.1mh.en
RCVPACK(1mh) [mmh-0.4] RCVPACK(1mh)

rcvpack - asynchronously append message to mbox file

rcvpack [file] [-Version] [-help]

The rcvpack program will read a message on standard in, convert it and append it to the mbox file listed on the command line.

The RFC 822 message is converted to the mbox format. This is the format used by most mail clients (elm, mailx, etc.). For the nitpickers: It's the mboxo format.

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

If no file argument is given, the converted message is printed to standard out. No locking will be done in this case.


rcvdist(1), rcvstore(1), slocal(1), packf(1)

Some people say that this tool would be obsoleted by the file action of slocal, although it might still have occasional uses in various shell scripts.

Only two return codes are meaningful, others should be.

2019-01-06 MH.6.8