Re: [EXIM] migration from sendmail to exim

Top Page
Delete this message
Reply to this message
Author: James FitzGibbon
Date:  
To: eximlist
CC: Nigel Metheringham, James Dehnert, exim-users
Subject: Re: [EXIM] migration from sendmail to exim
* eximlist@??? (eximlist@???) [990407 11:56]:

> Why is locking over NFS a problem, especially if lockfiles are used? (eg
> /var/spool/mail/root.lock)? Is it only a problem for flock/lockf types of
> locking? (which I don't wholly understand anyway)
>
> Better yet, is there an FAQ or some other document discussing locking
> mailspools over NFS that I could refer to?


You might want to read the code in src/transports/appendfile.c from the exim
installation. The procedure that Exim has to take to lock mbox files
(locally and over NFS) is extremely well commented there, and points out
many of the shortfalls that mbox-over-NFS has.

If you have to use NFS for mail and have the option to use Maildir (which
Exim supports), go for it. The only problem is that there aren't all that
many POP3/IMAP4 daemons out there that can read Maildir.

--
j.

James FitzGibbon (JF647)                                        james@???
EHLO Solutions                                         Voice/Fax (416)410-0100


--
*** Exim information can be found at http://www.exim.org/ ***