Dear folks,

I have a question about Qpopper's locking mechanism (3.x). I have a Perl LDA
on my FreeBSD 4.1.1 box, in which I use an exclusive flock to lock a user
mailbox before writing to it. I always thought qpopper honors the same
flock, and will not truncate on the user's mailbox until it can acquire a
lock. But since I suspect to have lost some mail, I want to be sure now.

I know that (additionally?) qpopper uses the .user.lock and user.lock file.
Should I try and emulate that, or will an flock on mbox suffice? Basically,
all I need to know is which one should I set to prevent qpopper from writing
and/or truncating mbox.

Any clarification would be highly appreciated,

- Mark

        System Administrator Asarian-host.org

---
"If you were supposed to understand it,
we wouldn't call it code." - FedEx

Reply via email to