Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!genrad!panda!talcott!harvard!seismo!brl-smoke!smoke!stanonik@nprdc.arpa From: stanonik@nprdc.arpa (Ron Stanonik) Newsgroups: net.unix-wizards Subject: 4.2bsd sendmail daemon/newaliases/dbm problem Message-ID: <812@brl-smoke.ARPA> Date: Mon, 10-Feb-86 13:19:30 EST Article-I.D.: brl-smok.812 Posted: Mon Feb 10 13:19:30 1986 Date-Received: Thu, 13-Feb-86 19:12:03 EST Sender: news@brl-smoke.ARPA Lines: 19 After we run newaliases, the sendmail daemon (running continuously, started with -bd) fails to find some aliases. Apparently the copy of aliases.dir cached in the daemon by the dbm library sometimes becomes outdated after newaliases (if a split occurs). Since our aliases.dir is less than DBLKSIZ, the cached copy is never updated. Restarting the daemon after newaliases cures the problem, but a better solution would probably be to "fix" the dbm library (reread aliases.dir and retry if makdatum fails?). The dbm library seems intended for the case of infrequent updates. Any suggestions? This seems as though it should be a common problem, but I cannot remember seeing it discussed, nor can I find any reference to it in the xinu buglist. Thanks, Ron Stanonik stanonik@nprdc.arpa