fromsmtp(1M) SYSTEM ADMINISTRATION COMMANDS fromsmtp(1M)
NAME
fromsmtp - receive RFC822 mail from SMTP
SYNOPSIS
fromsmtp [ -d ] [ -h host ] [ -s sender ] to ...
DESCRIPTION
fromsmtp reads an RFC822 message from its standard input,
does some conversion of the message to make it acceptable to
UNIX System mail, and pipes the result to rmail. The to
arguments are passed as arguments to rmail. fromsmtp is
normally invoked by smtpd to deliver incoming mail messages.
The -d option may be used for debugging fromsmtp. It will
cause the command line for rmail to be echoed to standard
output, as well as the results of the message (after conver-
sion). The message will not be given to rmail when this
option is used. The -h host option may be used to prepend a
host or network name to the front of the sender path in the
From line at the beginning of the message. This is useful
if you need to identify which of several possible networks a
message was received from (for possible use in replying).
The -s sender option is used to give a default sender name,
in case fromsmtp cannot determine the name of the sender
from the message it reads. If this option is not used, the
default sender name unknown will be used.
FILES
/usr/bin/rmail where converted mail is piped to
SEE ALSO
rmail(1M), smtpd(1M)
RFC822 - Standard for the Format of ARPA Internet Text Mes-
sages
1