procmail
[Top] [All Lists]

Re: Mixing flock() and lockfiles

1996-07-03 12:26:29
Postmaster <jimd(_at_)saluki-dns2(_dot_)it(_dot_)siu(_dot_)edu> wrote:
On Tue, 2 Jul 1996, Ray DeGennaro (@Home via Eudora) wrote:
Is there a way to get procmail to use both flock() and a named lockfile?

No - you are not being too paranoid. I tried PROCMAIL on a mail server
that also used IPOP3D & IMAP2 without all of the possible locking
mechanisms turned on for PROCMAIL, and people's mailboxes got "touched" in

Indeed.  However, normally, if you compile procmail out of the box, it
will use all known safe locking mechanisms (as far as can be determined
at compile time).  That means, if your elm is using flock(), then
procmail most likely is too (check with "procmail -v" or the manpage).

IPOP3D's FLOCK (or is it LOCKF ?) is actually an internal subroutine that
calls FCNTL, if I remember correctly. It also uses a

Some popdaemons use *badly* broken locking mechanisms.  Most notably,
there is this BSD-popdaemon that silently compiles *without* locking support
if one particular macro is not defined in the system include files.
-- 
Sincerely,                                                          
srb(_at_)cuci(_dot_)nl
           Stephen R. van den Berg (AKA BuGless).

This signature third word omitted, yet is comprehensible.

<Prev in Thread] Current Thread [Next in Thread>