SYNOPSIS
qmail-badmimetype
DESCRIPTION
qmail-badmimetypes reads the instructions in /var/qmail/control/bad-
mimetypes and writes them into /var/qmail/control/badmimetypes.cdb in a
binary format suited for quick access by qmail-smtpd.
If there is a problem with control/badmimetypes, qmail-badmimetypes
complains and leaves control/badmimetypes.cdb alone.
qmail-badmimetypes ensures that control/badmimetypes.cdb is updated
atomically, so qmail-smtpd never has to wait for qmail-badmimetypes to
finish. However, qmail-badmimetypes makes no attempt to protect
against two simultaneous updates of control/badmimetypes.cdb. For con-
venience, qmail-badmimetypes allows comments (lines starting with '#')
and copies only the significant leading characters to control/badmime-
types.cdb.
The binary control/badmimetypes.cdb format is portable across machines.
SEE ALSO
qmail-smtpd(8)
8 s/qmail:(qmail-badmimetype)
Man(1) output converted with
man2html