On Sat, 11 Jul 1998, Edward Roper wrote:

 : Okay I'm still lost. :)
 : 
 : What type of filelocking should be used when dealing with mailboxes. Does
 : Sendmail honor a particular "lock file" or do I use flock() or fcntl()?

You could even have a look at the Solaris manner of locking, using
maillock() and mailunlock() (those are safe even over NFS). There is a Linux
lookalike of those functions. They are in the liblockfile package, in a
Debian archive near you:
               hamm/hamm/source/libs/liblockfile_0.1-4.tar.gz

I managed to have ZMailer using this thing on my Debian box yesterday.

Best wishes,
 -Remco

Reply via email to