Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rmail(1) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mail(1)

uucp(1C)

sendmail(1M)




rmail(1) rmail(1)
NAME rmail - handles remote mail received via UUCP SYNOPSIS rmail [-Ddomain-name] [-T] login-name ... ARGUMENTS login-name Specifies the login name of the user to whom the mail message is to be delivered. -T Enables debugging. -Ddomain-name Sets the domain name. The default domain name is .UUCP. DESCRIPTION rmail is invoked by uuxqt to process mail messages received by the UUCP system. The rmail command collapses lines that begin with From, as generated by mailers, such as mail and mailx, into a single line of the form return-path!sender, and then passes the processed message to sendmail. The rmail command is designed explicitly for use with UUCP and sendmail and fails if it cannot find a line that begins with From in the mail message. NOTES Mail received from a remote computer should have at least one line that begins with From. For example, if a mail message originates from venus!root and is sent to saturn!john via a computer named jupiter, the final mail message will look like this: From jupiter!uucp [optional information] From venus!root [optional information] ... text of message ... As the mail message passes from computer to computer, another From line is added at the top until the message reaches its destination. Each computer may append optional information to the From line that it adds. The rmail command uses the From lines to construct a UUCP path to the user who sent the mail message. In the above example, the path would be jupiter!venus!root January 1992 1



rmail(1) rmail(1)
When rmail calls sendmail to deliver a message, it does so with these arguments: -oee Causes sendmail to mail back error messages and to exit with 0. -oi Causes sendmail to ignore periods (.) in the mail message. -oMssystem-name.domain-name Sets the $s macro in the line that begins with From. For the example given above, the value of system-name.domain-name would be jupiter.UUCP -oMrdomain-name Sets the $r macro in the domain string. For the example given above, the value of domain-name would be UUCP. -freturn-path!sender Specifies the return path of the user who sent the mail. For the example given above, the value of return-path would be jupiter!venus and the value of sender would be root. login-name Specifies the user to whom the mail is to be delivered. For the example given above, the value of login-name would be john. In addition, rmail invokes sendmail with the -odq option (queue the mail) if the load average is over 3.0. Otherwise, rmail invokes sendmail with the -odi option (deliver the mail immediately). The rmail command runs setgid on the group sys so it can read the /dev/kmem file to determine the load average. FILES /bin/rmail Executable file /usr/lib/sendmail Executable file invoked by rmail to deliver the mail 2 January 1992



rmail(1) rmail(1)
SEE ALSO mail(1), uucp(1C), sendmail(1M) Chapter 9, ``Setting Up Network Mail'' in A/UX Network System Administration January 1992 3

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026