summaryrefslogtreecommitdiff
path: root/sqmail-4.3.07/man/qmail-badmimetypes.9
blob: b9dab16dd2c74624b4407c02eda41b8eeb1e03c4 (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
44
45
46
.TH s/qmail: qmail-badmimetype 8
.SH NAME
qmail-badmimetypes \- prepare badmimetypes for qmail-smtpd
.SH SYNOPSIS
.B qmail-badmimetype
.SH DESCRIPTION
.B qmail-badmimetypes
reads the instructions in
.B SQMAIL/control/badmimetypes
and writes them into
.B SQMAIL/control/badmimetypes.cdb
in a binary format suited
for quick access by
.BR qmail-smtpd .

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

.B qmail-badmimetypes
ensures that
.B control/badmimetypes.cdb
is updated atomically,
so
.B qmail-smtpd
never has to wait for
.B qmail-badmimetypes
to finish.
However,
.B qmail-badmimetypes
makes no attempt to protect against two simultaneous updates of
.BR control/badmimetypes.cdb .
For convenience,
.B qmail-badmimetypes
allows comments (lines starting with '#') and 
copies only the significant leading characters to
.BR control/badmimetypes.cdb .

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