| 1 | .TH qmail-newmrh 8 |
| 2 | .SH NAME |
| 3 | qmail-newmrh \- prepare morercpthosts for qmail-smtpd |
| 4 | .SH SYNOPSIS |
| 5 | .B qmail-newmrh |
| 6 | .SH DESCRIPTION |
| 7 | .B qmail-newmrh |
| 8 | reads the instructions in |
| 9 | .B QMAILHOME/control/morercpthosts |
| 10 | and writes them into |
| 11 | .B QMAILHOME/control/morercpthosts.cdb |
| 12 | in a binary format suited |
| 13 | for quick access by |
| 14 | .BR qmail-smtpd . |
| 15 | |
| 16 | If there is a problem with |
| 17 | .BR control/morercpthosts , |
| 18 | .B qmail-newmrh |
| 19 | complains and leaves |
| 20 | .B control/morercpthosts.cdb |
| 21 | alone. |
| 22 | |
| 23 | .B qmail-newmrh |
| 24 | ensures that |
| 25 | .B control/morercpthosts.cdb |
| 26 | is updated atomically, |
| 27 | so |
| 28 | .B qmail-smtpd |
| 29 | never has to wait for |
| 30 | .B qmail-newmrh |
| 31 | to finish. |
| 32 | However, |
| 33 | .B qmail-newmrh |
| 34 | makes no attempt to protect against two simultaneous updates of |
| 35 | .BR control/morercpthosts.cdb . |
| 36 | |
| 37 | The binary |
| 38 | .B control/morercpthosts.cdb |
| 39 | format is portable across machines. |
| 40 | .SH "SEE ALSO" |
| 41 | qmail-smtpd(8) |