procmail
[Top] [All Lists]

Help with Lock Failures Using /etc/procmailrc

2002-09-29 14:39:42
I am using procmail v3.22 on RH7.2.  I recently switched from having an
individual .procmailrc in each $HOME directory to one in
/etc/procmailrc.  I invoke procmail from postfix with the mailbox
command '/usr/bin/procmail -m /etc/procmailrc'.  Within procmailrc, I am
using Email Sanitizer and lastly Spamassassin.  I check the log file
that procmail is writing to (in my $HOME directory) and keep seeing:

Lock failure on /var/spool/mail/michael.lock

I have not seen this yet for other users, but that's because I'm trying
to get the bugs worked out with one userid first.

I set VERBOSE=YES in /etc/procmailrc and copied what I thought was the
relevant section (below).  I'm hoping that someone can tell me what is
going on - or that what I'm seeing is inconsequential.

The permissions on the /var/spool/mail directory is:
drwxrwxr-x    2 root     mail         1024 Oct  1 14:09 /var/spool/mail

The last part of procmail  -v output is:
Locking strategies:     dotlocking, fcntl()
Default rcfile:         $HOME/.procmailrc
        It may be writable by your primary group
Your system mailbox:    /var/spool/mail/michael

procmail: Assigning "DROPPRIVS=yes"
procmail: Assuming identity of the recipient, VERBOSE=off
procmail: Match on "< 256000"
procmail: Executing "/usr/bin/spamassassin,-a"
procmail: [23292] Tue Oct  1 14:37:14 2002
procmail: Locking "/var/spool/mail/michael.lock"
procmail: Error while writing to
"/var/spool/mail/_8rF.atem9.minnie.localdomain"
procmail: Lock failure on "/var/spool/mail/michael.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/michael"
procmail: Opening "/var/spool/mail/michael"
procmail: Acquiring kernel-lock
From michael(_at_)prismbiz(_dot_)com  Tue Oct  1 14:37:07 2002
 Subject: Test Procmail with VERBOSE=YES
  Folder: /var/spool/mail/michael
1064



--------------------------------------------------------
Mike McCandless
michael(_at_)prismbiz(_dot_)com

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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