From owner-freebsd-stable Wed Sep 12 7: 0:47 2001 Delivered-To: freebsd-stable@freebsd.org Received: from ranger.argus-systems.com (ranger.argus-systems.com [206.221.232.80]) by hub.freebsd.org (Postfix) with ESMTP id B018437B401 for ; Wed, 12 Sep 2001 07:00:41 -0700 (PDT) Received: from dedog.argus-systems.co.uk (host212-140-86-162.host.btclick.com [212.140.86.162]) by ranger.argus-systems.com (8.9.3/8.9.3) with SMTP id JAA18525; Wed, 12 Sep 2001 09:00:27 -0500 (CDT) Received: by dedog.argus-systems.co.uk (sSMTP sendmail emulation); Wed, 12 Sep 2001 15:03:35 +0100 Date: Wed, 12 Sep 2001 15:03:35 +0100 From: Fergus Cameron To: David Wolfskill Cc: stable@freebsd.org Subject: Re: Local mail delivery & file locking? Message-ID: <20010912150334.D987@dedog.argus-systems.co.uk> Mail-Followup-To: David Wolfskill , stable@freebsd.org References: <20010912145145.B987@dedog.argus-systems.co.uk> <200109121353.f8CDrQs58429@bunrab.catwhisker.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200109121353.f8CDrQs58429@bunrab.catwhisker.org>; from david@catwhisker.org on Wed, Sep 12, 2001 at 06:53:26AM -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > But mail.local does try to lock the file, and the use of the spool mail > box is the default -- I certainly do the same, yet encounter no > problems. (Nor have I, ever since I started using "mail" as an MUA, > which was ca. 1986. Of course, various things have changed a bit since > then....) i'm really no expert here but a quick look at the 'mail' code would indicate that it doesn't try to obtain a file lock for the mbox only the spool box. therefore local.mail will never be blocked while getting the lock. i don't think that the spool mail box (/var/mail/user) is the default mbox. i'm pretty sure the default mbox is (/home/user/mbox). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message