From owner-freebsd-current Tue Oct 29 15:38:04 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA09788 for current-outgoing; Tue, 29 Oct 1996 15:38:04 -0800 (PST) Received: from quagmire.ki.net (root@quagmire.ki.net [205.150.102.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA09777 for ; Tue, 29 Oct 1996 15:37:57 -0800 (PST) Received: from localhost (scrappy@localhost) by quagmire.ki.net (8.8.2/8.7.5) with SMTP id SAA11205; Tue, 29 Oct 1996 18:37:04 -0500 (EST) Date: Tue, 29 Oct 1996 18:37:04 -0500 (EST) From: "Marc G. Fournier" To: Terry Lambert cc: Mark Crispin , current@FreeBSD.org Subject: Re: /var/mail (was: re: Help, permission problems...) In-Reply-To: <199610292311.QAA22180@phaeton.artisoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 29 Oct 1996, Terry Lambert wrote: > > You still don't understand. > > > > Your "mail.local" is not the only mail delivery program, nor is it typical of > > mail delivery programs on UNIX. Most mail delivery programs use .lock files. > > Actually, I would think that if it didn't go through mail.local, then > it isn't in a local user's mailbox: it's still in the delivery queue for > sendmail/smail/mmdf/IMAP/etc. > > I think the only legal access to the local user's mailbox is via > mail.local (incoming) and POP3/IMAP4/ELM/other-mail-reader (content > browsing and manipulation). > Wow...this was meant to be a nice, quick discussion...:( This whole discussion has degenerated (it seems) into a FreeBSD vs "the rest of the world" discussion, which is totally counter-productive. The question that *really* needs to be addressed is whether what Mark is stating is correct (right now, I assume he is) in that other Uinx variants' mail.local programs use .lock files to deal with locking. If the general consensus is that this is the case, then IMAP4's requirement for /var/mail to be 1777 is justified. If it is justified, then we should take whatever measures are required to get rid of the risk associated with having /var/mail 1777, which, as of yet, I haven't heard exactly what the risk involved is. So, can anyone comment on the use/requirement of .lock files for locking on any of the other OS's? Now, Terry mentions mail readers such as ELM, which, from the last time I configured/installed it a couple of years ago, actually gives you a choice of 3 locking methods, none of which are forced upon you...'.lock' being one of the three, and I think fcntl/flock were the other two... Marc G. Fournier scrappy@ki.net Systems Administrator @ ki.net scrappy@freebsd.org