procmail
[Top] [All Lists]

Deadlock?

1996-09-18 05:08:27
Hi all,

I'm new in using procmail, so sorry if this is a typical FAQ.
In my logfile I get very often messages as

procmail: Deadlock attempted on "/home2/sch/.lockmail"

/home2/sch/.lockmail ist my lockfile (see the beginning of
my .procmailrc below):

----- snip : .procmailrc -------

VERBOSE=OFF
PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:.
MAILDIR=$HOME/Mail      # You'd better make sure it exists
DEFAULT=/var/mail/sch
#DEFAULT=$MAILDIR/mbox
LOGFILE=$HOME/.procmail/log
LOCKFILE=$HOME/.lockmail
PMDIR=$HOME/.procmail
#INCLUDERC=$PMDIR/rc.testing
INCLUDERC=$PMDIR/rc.maillists

----- snip -------

The and of my .procmailrc ist as follows:

----- snip : end of .procmailrc -----

:0: $LOCKFILE
* ^From.*smsuser
| tee /home2/sch/lockslist | mailx -s LOCKSLIST sch

:0: $LOCKFILE
| tee -a $DEFAULT | mailx -s SNI-Mail 
Elmar(_dot_)Schaetzlein(_at_)muenchen(_dot_)org

# Anything that has not been delivered by now will go to $DEFAULT
# using LOCKFILE=$DEFAULT$LOCKEXT

----- end of .procmailrc ------

What means this deadlock-message, is it a warning only or
should I try to avoid it?

In the manpages I couldn't find anything on the meaning of
deadlocks...

Elmar

-- 
SIEMENS | Dr. Elmar Schaetzlein | Phone: (+49) 89 636 47134
======= | SNI OEC BS2 ZE SW 111 | FAX:   (+49) 89 636 49974
NIXDORF | Otto-Hahn-Ring 6      | eMail: 
Elmar(_dot_)Schaetzlein(_at_)mch(_dot_)sni(_dot_)de
        | D-81739 Munich        |        
Elmar(_dot_)Schaetzlein(_at_)muenchen(_dot_)org
http://homepages.muenchen.org/bm469477/

<Prev in Thread] Current Thread [Next in Thread>
  • Deadlock?, Dr. Elmar Schaetzlein <=