POSTED TO USENET GROUP(S): comp.mail.misc
I've CC'd this to the procmail list because I had the same thing happen to me
on a SunOS (ver 4??) using procmail
I also had the same problem of it waiting for a kernel-lock.
I was never able to figure out why it did it. With me it was some larger
messages, but I don't know if that helps you.
I removed my .forward and did kill -HUP to the procmail process, which
requeued the message (or maybe kill -TERM?).... I'm not sure if that is what
finally worked or if it was putting something like this:
:0
|formail -A >> $DEFAULT
at the top of my .procmailrc eventually I did get it to my inbox and then
replaced my .forward again.
The original message is below for those in the procmail group who might be
able to help but don't read comp.mail.misc
Sorry I can't be more help
In <wmn2n4gt5r(_dot_)fsf(_at_)ll(_dot_)mit(_dot_)edu> John Mann wrote:
I have been using procmail for a couple of years without any major
problems, but yesterday all hell broke loose. I have 30 procmail
processes running on our server that have all of my mail from the last
day held hostage. I can't kill the processes - (kill -9 PID doesn't
work, even for the superuser). My backup files (I use the failsafe
outlined in the procmailex man page) are all empty. The log entrys
have the following form:
procmail: Timeout, was waiting for "xemacs-beta"
procmail: Timeout, was waiting for "xemacs-beta"
procmail: Timeout, was waiting for "xemacs-beta"
procmail: Timeout, was waiting for "backup"
procmail: Timeout, was waiting for "xemacs-beta"
procmail: Timeout, was waiting for "backup"
procmail: Timeout, was waiting for "xemacs-beta"
procmail: Timeout, was waiting for "backup"
procmail: Timeout, was waiting for "xemacs-beta"
procmail: Timeout, was waiting for "backup"
procmail: Timeout, was waiting for "xemacs-beta"
procmail: Timeout, was waiting for "xemacs-beta"
xemacs-beta is a folder for a mailing list, and backup is my backup
directory. I turned on verbose and I get the following stuff in the
log:
procmail: [18853] Wed Jul 30 15:11:21 1997
procmail: No match on "^From:.*netsaaver"
procmail: No match on "^Resent-From:.*xemacs-beta"
procmail: Assigning "LASTFOLDER=backup/msg.Z__"
procmail: Opening "backup/msg.Z__"
procmail: Acquiring kernel-lock
It seems to hang here.... so I don't even get the backup! What do I
do now???? I'm totally stumped, and the system administrator is not
too happy about having 30 procmail processes running on our server.
Is there any way to save my mail? Should we reboot? I have turned
off procmail by getting rid of my .forward file, but that doesn't help
recover the lost mail. Any help would be most appreciated.
John Mann
Other info that may be pertinent:
The server is a SUNos machine, whereas my machine is Solaris 2.5.1
Here is the .forward file I use:
"|IFS=' '&&exec /usr/local/bin/procmail -f-||exit 75 #mannj"
A working log entry (from a procmail process running on my own machine
with a local mail message as opposed to our server which handles mail
from the outside - this still works fine) looks like:
procmail: [29444] Wed Jul 30 14:50:45 1997
procmail: No match on "^From:.*netsaaver"
procmail: No match on "^Resent-From:.*xemacs-beta"
procmail: [29444] Wed Jul 30 14:50:46 1997
procmail: Assigning "LASTFOLDER=backup/msg.s301"
procmail: Opening "backup/msg.s301"
procmail: Acquiring kernel-lock
procmail: [29444] Wed Jul 30 14:50:47 1997
procmail: Executing " cd backup && /bin/rm -f dummy `ls -1t msg.* | sed -e
1,32d`"
procmail: [29444] Wed Jul 30 14:50:47 1997
procmail: Assigning "LASTFOLDER= cd backup && /bin/rm -f dummy `ls -1t
msg.* | sed -e 1,32d`"
procmail: Match on "^From:(_dot_)*mannj(_at_)ll(_dot_)mit(_dot_)edu"
procmail: No match on ! "^To:.*mannj"
procmail: No match on "^From:(_dot_)*billing(_at_)pair(_dot_)com"
procmail: No match on "Lincoln Laboratory Candlepin Bowling League"
procmail: Locking "/home/mannj/mail/MBOX.lock"
procmail: Assigning "LASTFOLDER=/home/mannj/mail/MBOX"
procmail: Opening "/home/mannj/mail/MBOX"
procmail: Acquiring kernel-lock
procmail: [29444] Wed Jul 30 14:50:48 1997
procmail: Unlocking "/home/mannj/mail/MBOX.lock"
From mannj Wed Jul 30 14:50:45 1997
Subject: test2
Folder: /home/mannj/mail/MBOX
783
procmail: Notified comsat: "mannj(_at_)0:/home/mannj/mail/MBOX"
--------------------------------------------------------------------
Here is my .procmailrc file:
PATH=$HOME/util:$HOME/metamail_sunos/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:/opt/gnu/bin
MAILDIR = $HOME/mail
DEFAULT = $MAILDIR/MBOX
LOGFILE = $MAILDIR/files/log
VERBOSE = on
:0
* ^From:.*netsaaver
netsaaver
:0
* ^Resent-From:.*xemacs-beta
xemacs-beta
:0 c
backup
:0 ic
| cd backup && /bin/rm -f dummy `ls -1t msg.* | sed -e 1,32d`
:0
* ^From:(_dot_)*mannj(_at_)ll(_dot_)mit(_dot_)edu
* !^To:.*mannj
outmbox
:0
* ^From:(_dot_)*billing(_at_)pair(_dot_)com
webpagebills
:0 B
* Lincoln Laboratory Candlepin Bowling League
bowling