]>
diplodocus.org Git - nmh/blob - docs/historical/mh-nov-1983/strings/lockdir.c
2 * This is where the lock files are kept. It MUST be on the same
3 * file system as the "mailboxes" directory. It also must be read/
4 * write by the world. When a mailbox needs locking (while being
5 * read and cleared by inc, or written by deliver), a link to the
6 * mailbox is made in this directory, under the same name (i.e., the
7 * users name). Links are one of the few things even a privileged
8 * process (deliver) cannot over-ride. The deliver process waits
9 * for lockwait seconds for the lock to clear, then it over-rides
10 * the lock. This number should be set around 15-30 seconds in the
11 * case of a VERY loaded system.
14 char *lockdir
= "/usr/spool/mail/";
15 int lockwait
= 15; /* Seconds */