On Tue, 2002-07-02 at 12:15, Antonio Bemfica wrote:
> I have my mail filtered with procmail and delivered to mbox files located
> at the directory $HOME/incoming-mail/ - I know I can have Evolution
> pick-up mail from spool files, but am a bit concerned with how it will
> interact with the procmail delivery.
>
> How does Evolution lock the spool files?
yes
> Does it use lockfiles (if so, what is the convention?)?
it can, depends on how you ./configure'd it.
by default, evolution uses dot-locking and fcntl. dot-locking is where
it creates /path/to/file.lock (I assume that's what you were asking?)
> Does it use kernel locks (with flock and lockf
> under FreeBSD, which is the OS I use)?
it can, depends on how you ./configured it. Well, actually I don't think
we support lockf, just flock. Never even heard of lockf.
>From the lockf man page:
Apply, test or remove a POSIX lock on an open file. The
file is specified by fd. This call is just an interface
for fcntl(2). Valid operations are given below:
So yea, we default to use fcntl() which is what lockf uses too :-)
> Does camel-lock do the locking? If
> so, how?
yes, unless evolution itself has permissions to the directory.
Jeff
--
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
[EMAIL PROTECTED] - www.ximian.com
_______________________________________________
evolution maillist - [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution