qmail-recipients - prepare recipients for qmail-smtpd
qmail-recipients
qmail-recipients reads the addresses provided in /var/qmail/users/recipients, converting into lowercase, and writes them into /var/qmail/users/recipients.cdb in a binary format suited for quick access by qmail-smtpd.
If there is a problem with users/recipients, qmail-recipients complains and leaves users/recipients.cdb alone.
qmail-recipients ensures that users/recipients.cdb is updated atomically, so qmail-smtpd never has to wait for qmail-recipients to finish. However, qmail-recipients makes no attempt to protect against two simultaneous updates of users/recipients.cdb.
The binary users/recipients.cdb is compatible with setforward generated ´fastforward´ cdbs and it’s format is portable across machines.
In case the resulting cdb is wrongly populated or empty, the lookup will always succeed and thus any address will be acccepted.
qmail-smtpd(8), qmail-vmailuser(8), setforward(8), fastforward(8).