]> diplodocus.org Git - nmh/blob - docs/historical/mh-jun-1982/man/rmail.1
Replaced use of snprintf() with memcpy()/memmove().
[nmh] / docs / historical / mh-jun-1982 / man / rmail.1
1
2 .TH RMAIL 1 RAND
3 .SH NAME
4 rmail \- send mail from a remote site
5 .SH SYNOPSIS
6 .B mail
7 user
8 .SH DESCRIPTION
9 .I Rmail
10 is intended as an interface between mail sent from foreign
11 sites via
12 .I uucp(1)
13 and the Rand message handling system,
14 .I mh(1).
15 It reads a message from the standard input and, after creating
16 mh-format lines for the sender and recipient user, writes
17 it into a temporary file. It then invokes
18 .I deliver(8)
19 to complete the mail delivery.
20 .PP
21 .I Rmail
22 is able to understand a series of lines of the form:
23 .br
24 From \fIuser\fB ... remote from \fIsite\fR
25 .br
26 and turn them into the correct "From: \fIsite\fR!\fIuser\fR" form,
27 thus allowing effective use of the
28 .I reply(1)
29 command.
30 .PP
31 If the destination
32 .I user
33 is in fact a foreign uucp site, no formatting or reprocessing is
34 done;
35 .I deliver
36 will simply forward the message to the foreign site with the
37 appropriate uucp-style header on it.
38 .SH FILES
39 /etc/mh/deliver
40 .br
41 /tmp/mail*.tmp
42 .br
43 .SH SEE ALSO
44 bellmail(1), deliver(8), mail(1), uucp(1)