summaryrefslogtreecommitdiff
path: root/sqmail-4.3.07/man/qmail-newmrh.9
blob: 941dc031125ae4593eaa7f37d8cc268f580c32b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.TH s/qmail: qmail-newmrh 8
.SH NAME
qmail-newmrh \- prepare morercpthosts for qmail-smtpd
.SH SYNOPSIS
.B qmail-newmrh
.SH DESCRIPTION
.B qmail-newmrh
reads the instructions in
.B SQMAIL/control/morercpthosts
and writes them into
.B SQMAIL/control/morercpthosts.cdb
in a binary format suited
for quick access by
.BR qmail-smtpd .

If there is a problem with
.BR control/morercpthosts ,
.B qmail-newmrh
complains and leaves
.B control/morercpthosts.cdb
alone.

.B qmail-newmrh
ensures that
.B control/morercpthosts.cdb
is updated atomically,
so
.B qmail-smtpd
never has to wait for
.B qmail-newmrh
to finish.
However,
.B qmail-newmrh
makes no attempt to protect against two simultaneous updates of
.BR control/morercpthosts.cdb .

The binary
.B control/morercpthosts.cdb
format is portable across machines.
.SH "SEE ALSO"
qmail-smtpd(8)