Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ll-xn!adelie!mirror!xanth!kyle From: kyle@xanth.UUCP Newsgroups: comp.unix.wizards Subject: Re: How are mailfiles locked under 4.n and System III/V? Message-ID: <962@xanth.UUCP> Date: Thu, 14-May-87 19:30:59 EDT Article-I.D.: xanth.962 Posted: Thu May 14 19:30:59 1987 Date-Received: Sat, 16-May-87 14:48:17 EDT References: <7384@boring.mcvax.cwi.nl> Lines: 13 In article <7384@boring.mcvax.cwi.nl>, jack@mcvax.cwi.nl (Jack Jansen) writes: > How do various unices lock mailfiles? 4.2 BSD uses /usr/spool/mail/USERNAME.lock . 4.3 BSD uses flock(), which is nice now that flock() actually works. > (As an aside, I went through the sources of 4.3 sendmail, > expecting an flock() call or something similar, > but couldn't find *anything* that resembled locking. What am I > missing?) Sendmail doesn't do local mail delivery. Sendmail invokes /bin/mail to the the actual message delivery.