smtp(1M) smtp(1M)
NAME
smtp - send SMTP mail to a remote host using Simple Mail Transfer Pro-
tocol
SYNOPSIS
/usr/lib/mail/surrcmd/smtp [-D] [-u] [-a toaddr] [-d domain]
[-H helohost] sender host recip ...
DESCRIPTION
smtp sends a message to a remote host host using the Simple Mail
Transfer Protocol (SMTP). The message is read from standard input.
sender is used to identify the sender of the message and the recips
are used as the recipients.
When establishing a connection, smtp will use the first transport for
which netdirgetbyname [see netdir(3N)] returns an address, based on
hostname, transport [returned from getnetpath(3N)], and service smtp.
Normally, this will be the "tcp" transport.
OPTIONS
-D This option turns on debugging. Debugging information
is printed to stderr.
-H helohost This option can be used to set the hostname used in
SMTP HELO message (this defaults to the system's name).
-d domain This option can be used to set the domain name to be
used for this host.
-u Assumes it is unix format and does no conversion of
destination address to RFC822 format.
-a toaddr Opens connection to toaddr instead of host specified.
smtp is normally run by the smtpsched process to deliver mail queued
in /var/spool/smtpq.
FILES
/var/spool/smtpq
where messages are queued
SEE ALSO
smtpsched(1M), getnetpath(3N), netdir(3N).
RFC821 - Simple Mail Transfer Protocol.
Page 1 Reliant UNIX 5.44 Printed 11/98