Scroll to navigation

RCVDIST(1mh) RCVDIST(1mh)

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). 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, although 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), rcvstore(1), rcvtty(1), slocal(1), mh-format(5)

1999-04-30 nmh-1.7.1