Re: [EXIM] Linux - Solaris file locking

Top Page
Delete this message
Reply to this message
Author: Vadim Vygonets
Date:  
To: exim-users
Subject: Re: [EXIM] Linux - Solaris file locking
Quoth Jon S on Wed, Mar 24, 1999:
> 1999-03-23 20:37:17 10PfPJ-0004QJ-00 == receiver@??? T=local_delivery defer (-9): failed to lock mailbox /var/spool/mail/receiver (fcntl)
>
> The server that hosts /var/spool/mail is a solaris 2.5 box and the mail
> exchangers are Linux (kernel: 2.2.2, distribution: Debian GNU/Linux 2.1).


Debian, Debian... At least not everyone uses DeadRat these days.
Ahem. I haven't said anything.

Ok, mail directory on NFS. Add the following option to your
appendfile transport:

no_use_fcntl_lock

Usually, you can't do flock(2)/fcntl(2) via NFS (unless lockd (or
something) runs).

> The only mail that was delivered was one user that filters
> with procmail.


That's because, well, pipes don't do file locking, but real
appendfile does.

Vadik.

--
Bell Labs Unix -- Reach out and grep someone.

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