Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2001 15:03:35 +0100
From:      Fergus Cameron <cameron@argus-systems.com>
To:        David Wolfskill <david@catwhisker.org>
Cc:        stable@freebsd.org
Subject:   Re: Local mail delivery & file locking?
Message-ID:  <20010912150334.D987@dedog.argus-systems.co.uk>
In-Reply-To: <200109121353.f8CDrQs58429@bunrab.catwhisker.org>; from david@catwhisker.org on Wed, Sep 12, 2001 at 06:53:26AM -0700
References:  <20010912145145.B987@dedog.argus-systems.co.uk> <200109121353.f8CDrQs58429@bunrab.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010912150334.D987>