9srv Manual Collection/plan9/send(8) 9srv Manual Collection/plan9/send(8)
NAME
send - mail routing and delivery

SYNOPSIS
upas/send [ -b ] [ -i ] [ -r ] [ -x ] [ -# ] [ mailaddr ... ]

DESCRIPTION
Send is not normally run directly by the user. Instead, mail protocol agents like smtpd (see smtp(8)) and mail preparers like marshal(1) fork and execute send.

Send reads a message from standard input and disposes of it in one of four ways:

The file /mail/lib/rewrite determines exactly how to deliver or queue the mail. The decision is based purely on the recipient address.

The options are:


-b
suppresses the addition of the To: line.
-i
let the message input be terminated by a line containing only a period, for compatibility with old mailers.
-x
do not send mail, but instead report the full mail address of the recipient.
-#
do not send mail, but instead report what command would be used to send the mail.
-r
input is via a pipe from another program. Expect a From line at the start of the message to provide the name of the sender and timestamp. This implies the -b option.

Send uses the login name as the reply address.

FILES
/sys/log/mail
mail log file
/mail/box/*/dead.letter
unmailable text
/mail/lib/rewrite
rules for handling addresses
/mail/box/*/names
personal alias files
/mail/lib/namefiles
lists names of files containing system aliases

SOURCE
/sys/src/cmd/upas/send

SEE ALSO
aliasmail(8), faces(1), filter(1), mail(1), marshal(1), mlmgr(1), nedmail(1), qer(8), rewrite(6), smtp(8), upasfs(4)

9srv Manual Collection/plan9/send(8) Rev:  Sun Dec 02 23:42:28 GMT 2007