# rcvpack(1mh) - man - phpman

[RCVPACK(1mh)](https://www.chedong.com/phpMan.php/man/RCVPACK/1mh/markdown)                                                                            [RCVPACK(1mh)](https://www.chedong.com/phpMan.php/man/RCVPACK/1mh/markdown)



## NAME
       rcvpack - append an email from standard input to a file

## SYNOPSIS
       **/usr/lib/mh/rcvpack** [**-help**] [**-version**] _file_ [**-mbox**] [**-mmdf**]

## DESCRIPTION
       **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 de‐
       limiters.  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

## SEE ALSO
       [_rcvdist_(1)](https://www.chedong.com/phpMan.php/man/rcvdist/1/markdown), [_rcvstore_(1)](https://www.chedong.com/phpMan.php/man/rcvstore/1/markdown), [_rcvtty_(1)](https://www.chedong.com/phpMan.php/man/rcvtty/1/markdown), [_slocal_(1)](https://www.chedong.com/phpMan.php/man/slocal/1/markdown)

## BUGS
       Only two return codes are meaningful, others should be.



nmh-1.7.1                                    1999-04-30                                 [RCVPACK(1mh)](https://www.chedong.com/phpMan.php/man/RCVPACK/1mh/markdown)
