Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site ccivax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!teddy!panda!talcott!harvard!seismo!rochester!ritcv!ccivax!crp From: crp@ccivax.UUCP (Chuck Privitera) Newsgroups: net.bugs.4bsd,net.unix-wizards Subject: Re: 4.2 lost mail Message-ID: <230@ccivax.UUCP> Date: Wed, 16-Jan-85 15:28:50 EST Article-I.D.: ccivax.230 Posted: Wed Jan 16 15:28:50 1985 Date-Received: Fri, 18-Jan-85 10:25:15 EST Distribution: net Organization: CCI Telephony Systems Group, Rochester NY Lines: 31 Xref: watmath net.bugs.4bsd:1327 net.unix-wizards:11547 I know this article shouldn't go to net.unix-wizards, but the original was posted there. In article <276@uw-beaver> Voradesh Yenbut writes: > I found that sendmail, compiled with DBM defined, does not call > initaliases() before it processes queued mails. So, it will fail > when looking for an alias name of a local recipient. As quoted from > Version.c of sendmail, >> D 4.16 83/10/16 16:08:08 eric 382 381 >> MRs: >> Postpone opening the alias DBM file until after the fork in srvrsmtp so >> that the alias database is as current as possible; thanks to dagobah!efo >> (Eben Ostby) for this one. > it looks like sendmail version 4.16 and above may have this kind of > problem. I don't know about you, but my sendmail does alias expansion when the mail is queued. In the mainline code for sendmail, there is a switch which does alias initialization only if: 1. You are running as newaliases (or -bi option given) 2. You are not running in daemon mode. Thus, alias expansions are done when you submit mail, so the only time the daemon has to worry about doing alias expansions is when mail is submitted via SMTP. And as the note in Version.c says, initaliases is called in srvrsmtp. My question is this: has anybody installed this and is it really necessary?