procmail
[Top] [All Lists]

misc lock/write problems

1997-08-11 17:46:00
I get two types of errors when procmail runs on my mail server:
procmail: Error while writing to "_-80Glaguna"
procmail: Lock failure on "pete.lock"

With this .promailrc file:
#!/bin/sh
# default procmail definitions and recipes go here. This runs as root!
# pmk 10/9/96
#
# chmod 544 for normal operation
# REMEMBER to chmod prior to editing!
#
#

PATH=$HOME/bin:/usr/bin:/usr/sbin:/usr/local/bin:
MAILDIR=/var/spool/mail
DEFAULT=$MAILDIR/pete
LOGFILE=$MAILDIR/pete.log
LOCKFILE=$MAILDIR/pete.lock

#set this for debugging
VERBOSE=on

# If a mail is to ME, not from a list
# then page me with the subject

:0 ciw
* ^TO(pete|pkelly|webmaster)@(nekton|nektontech)\.com
* !^Precedence: *(bulk|junk)
* !^FROM_DAEMON
* ^Subject: *\/[^ ].*
| Mail -s "$MATCH" 9094482100(_dot_)xxxxx(_at_)pagenet(_dot_)net </dev/null

:0:
pete

#end of .procmailrc

and these file permissions:

for /var/spool/mail
drwxr-xr-x 2 mail mail 1024 Aug 11 15:17 mail/

and within the mail dir.
-rw------- 1 pete mail 0 Aug 11 15:18 pete
-rw-r----- 1 pete mail 1476 Aug 11 15:18 pete.log

I get this in my procmail logs:


Total Number Folder
----- ------ ------
0 16 ## procmail: Acquiring kernel-lock
0 1 ## procmail: Assigning "LASTFOLDER= Mail -s "$MATCH" 9094482100(_dot_)xxxxx(_at_)pagenet(_dot_)net </dev/null"
0 16 ## procmail: Assigning "LASTFOLDER=pete"
0 1 ## procmail: Assigning "MATCH="
0 8 ## procmail: Error while writing to "_-80Glaguna"
0 8 ## procmail: Error while writing to "_290Glaguna"
0 8 ## procmail: Error while writing to "_690Glaguna"
0 8 ## procmail: Error while writing to "_6A0Glaguna"
0 8 ## procmail: Error while writing to "_C60Glaguna"
0 8 ## procmail: Error while writing to "_D90Glaguna"
0 8 ## procmail: Error while writing to "_H90Glaguna"
0 8 ## procmail: Error while writing to "_IA0Glaguna"
0 8 ## procmail: Error while writing to "_L90Glaguna"
0 8 ## procmail: Error while writing to "_T90Glaguna"
0 8 ## procmail: Error while writing to "_Z90Glaguna"
0 8 ## procmail: Error while writing to "_g90Glaguna"
0 8 ## procmail: Error while writing to "_gA0Glaguna"
0 8 ## procmail: Error while writing to "_l90Glaguna"
0 8 ## procmail: Error while writing to "_v80Glaguna"
0 8 ## procmail: Error while writing to "_z90Glaguna"
0 1 ## procmail: Executing " Mail -s "$MATCH" 9094482100(_dot_)xxxxx(_at_)pagenet(_dot_)net </dev/null"
0 16 ## procmail: Lock failure on "pete.lock"
0 128 ## procmail: Locking "pete.lock"
0 1 ## procmail: Match on ! "(^(Precedence:.*(junk|bulk|list)|(((Resent-)?(From|Sender)|X-Envelope-From):|>?From )(.*[^((_dot_)%(_at_)a-z0-9])?(Post(ma?(st(e?r)?|n)|office)|(send)?Mail(er)?|daemon|mmdf|root|n?uucp|smtp|response|LISTSERV|owner|request|bounce|serv(ices?|er)|Admin(istrator)?)([^).!:a-z0-9].*)?$[^>]))"
0 1 ## procmail: Match on ! "^Precedence: *(bulk|junk)"
0 1 ## procmail: Match on "(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^a-zA-Z])?)(pete|pkelly|webmaster)@(nekton|nektontech)\.com"
0 1 ## procmail: Match on "^Subject: *\/[^ ].*"
0 1 ## procmail: Matched "Re: How's the walk to work?"
0 15 ## procmail: No match on "(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^a-zA-Z])?)(pete|pkelly|webmaster)@(nekton|nektontech)\.com"
0 3 ## procmail: Notified comsat: "pete(_at_)0:/var/spool/mail/pete"
0 1 ## procmail: Notified comsat: "pete(_at_)12311:/var/spool/mail/pete"
0 1 ## procmail: Notified comsat: "pete(_at_)4276:/var/spool/mail/pete"
0 1 ## procmail: Notified comsat: "pete(_at_)50418:/var/spool/mail/pete"
0 1 ## procmail: Notified comsat: "pete(_at_)52362:/var/spool/mail/pete"
0 1 ## procmail: Notified comsat: "pete(_at_)54173:/var/spool/mail/pete"
0 1 ## procmail: Notified comsat: "pete(_at_)56560:/var/spool/mail/pete"
0 1 ## procmail: Notified comsat: "pete(_at_)58667:/var/spool/mail/pete"
0 1 ## procmail: Notified comsat: "pete(_at_)61360:/var/spool/mail/pete"
0 1 ## procmail: Notified comsat: "pete(_at_)63794:/var/spool/mail/pete"
0 1 ## procmail: Notified comsat: "pete(_at_)65062:/var/spool/mail/pete"
0 1 ## procmail: Notified comsat: "pete(_at_)66286:/var/spool/mail/pete"
0 1 ## procmail: Notified comsat: "pete(_at_)6684:/var/spool/mail/pete"
0 1 ## procmail: Notified comsat: "pete(_at_)9324:/var/spool/mail/pete"
0 16 ## procmail: Opening "pete"
0 1 ## procmail: [397] Mon Aug 11 13:44:34 1997
etc

Suggestions?

Thanks,
Pete
--
Pete Kelly pkelly(_at_)nektontech(_dot_)com 626-335-4173
http://www.cogent.net/~nekton
<Prev in Thread] Current Thread [Next in Thread>