Import fastforward 0.51
[fastforward] / setmaillist.1
CommitLineData
8d5530c4
MW
1.TH setmaillist 1
2.SH NAME
3setmaillist \- create a binary mailing list
4.SH SYNOPSIS
5.B setmaillist
6.I bin
7.I tmp
8.SH DESCRIPTION
9.B setmaillist
10reads a mailing list from its standard input.
11
12.B setmaillist
13writes the mailing list in a binary format to
14.IR tmp ;
15it then moves
16.I tmp
17to
18.IR bin .
19.I tmp
20and
21.I bin
22must be on the same filesystem.
23
24If there is a problem creating
25.IR tmp ,
26.B setmaillist
27complains and leaves
28.I bin
29alone.
30
31The binary mailing list format is portable across machines.
32
33.B setmaillist
34always creates
35.I bin
36world-readable.
37.SH "MAILING LIST FORMAT"
38The mailing list read by
39.B setmaillist
40is a series of lines.
41NUL bytes are not allowed.
42
43If a line begins with a dot or slash,
44.B setmaillist
45takes the entire line as an include file name.
46
47If a line begins with an ampersand,
48.B setmaillist
49takes the rest of the line as a recipient address.
50If a line begins with a letter or number,
51.B setmaillist
52takes the entire line as a recipient address.
53Each recipient address must include a fully qualified domain name.
54Recipient addresses longer than 800 bytes are not allowed.
55
56.B setmaillist
57ignores blank lines
58and lines beginning with #.
59It also ignores spaces and tabs at the ends of lines.
60
61For example,
62
63.EX
64 god@heaven.af.mil
65 djb@silverton.berkeley.edu
66.EE
67
68is a mailing list with two addresses.
69.SH "SEE ALSO"
70setforward(1),
71newinclude(1),
72printmaillist(1)