summaryrefslogtreecommitdiff
path: root/sqmail-4.3.07/man/qmail-newu.9
blob: a030794d1da1fcd59b8e61202e8c50397a7de98e (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
42
43
.TH s/qmail: qmail-newu 8
.SH NAME
qmail-newu \- prepare address assignments for qmail-lspawn
.SH SYNOPSIS
.B qmail-newu
.SH DESCRIPTION
.B qmail-newu
reads the assignments in
.B SQMAIL/users/assign
and writes them into
.B SQMAIL/users/assign.cdb
in a binary format suited
for quick access by
.BR qmail-lspawn .

If there is a problem with
.BR users/assign ,
.B qmail-newu
complains and leaves
.B users/assign.cdb
alone.

.B qmail-newu
ensures that
.B users/assign.cdb
is updated atomically,
so
.B qmail-lspawn
never has to wait for
.B qmail-newu
to finish.
However,
.B qmail-newu
makes no attempt to protect against two simultaneous updates of
.BR users/assign.cdb .

The binary
.B users/assign.cdb
format is portable across machines.
.SH "SEE ALSO"
qmail-users(5),
qmail-lspawn(8),
qmail-pw2u(8)