[CLUE-Tech] procmail lock failure
Charles Oriez
coriez at oriez.org
Mon Sep 20 15:52:43 MDT 2004
At 03:06 PM 9/20/2004, Angelo Bertolli wrote:
>Just a follow-up on this.
>
>My procmailrc says:
>
>>:0:
>>* ^X-Spam-Status: Yes
>>/var/spool/mail/SPAMASSASSIN
>
>
>My procmail.log says:
>
>>procmail: Lock failure on "/var/spool/mail/SPAMASSASSIN.lock"
>
>
>And my mailbox looks like:
>
>>-rw----rw- 1 root mail 8.2M Sep 20 17:00
>>/var/spool/mail/SPAMASSASSIN
>
>
>
>
>Angelo Bertolli wrote:
>
>>Does procmail lock a mailbox before it processes the mailbox? If so, why
>>am I having a hard time locking a mailbox for spamassassin? Every once
>>in a while I see it failed to lock the mailbox.
>>
>>Angelo
http://rhols66.adsl.netsonic.fi/era/procmail/mini-faq.html#locking
you have to explicitly lock, which is what the : after the 0 does. I don't
lock when routing to /dev/null or forwarding, but do lock when delivering
to my mailbox.
I think your permissions are hosed.
-rw----rw- should probably read -rw-rw-rw-
what is the sequence? user-group-world?
--
Charles Oriez coriez at oriez.org 39 34' 34.4"N / 105 00' 06.3"W
"Drag God into politics, and you'll ruin his reputation in no time." --
Molly Ivins
More information about the clue-tech
mailing list