# phpman > info > rcvdist

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

NAME
       rcvdist - asynchronously receive and distribute new email

SYNOPSIS
       /usr/lib/mh/rcvdist [-help] [-version] [-form formfile] [switches for
            postproc] address1 ...

DESCRIPTION
       rcvdist accepts a message on its standard input and resends a  copy  of
       the message to all of the addresses listed on its command line.

       The  format  of  the  Resent-xxx header fields is specified by the form
       file "rcvdistcomps".  If a file  named  "rcvdistcomps"  exists  in  the
       user's nmh directory, it will be used instead of the default file.  You
       may specify an alternate forms file with -form formfile.

       The "rcvdistcomps" file uses the format string  facility  described  in
       [mh-format(5)](https://www.chedong.com/phpMan.php/man/mh-format/5/markdown).  In addition to the standard format escapes, rcvdist also
       recognizes the following component escape:

            Escape    Returns  Description
            addresses string   the addresses to distribute to

       By default, rcvdist uses the post program to deliver the  message,  al-
       though this can be changed by defining the postproc profile component.

FILES
       /etc/nmh/rcvdistcomps      Default message skeleton
       or <mh-dir>/rcvdistcomps   User's message skeleton
       /etc/nmh/mts.conf          nmh mts configuration file
       /etc/nmh/maildelivery      Default delivery file
       $HOME/.maildelivery        User's delivery file

SEE ALSO
       [rcvpack(1)](https://www.chedong.com/phpMan.php/man/rcvpack/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), [mh-format(5)](https://www.chedong.com/phpMan.php/man/mh-format/5/markdown)

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