procmail
[Top] [All Lists]

procmail locking question.

2001-06-22 09:26:05
Hey all.  I have another recipe question.

For a while, I would like to collect the headers of all email that
doesn't match any of my other kill recipes, so I borrowed the one from
the procmailex manpage:

:0 hwc:
* !^FROM_MAILER
| gzip >> ~/.mutt/headc.gz

Later I will try to limit the messages that I collect headers from to
those I haven't already declared as crap, but for now, I wanted to
test it out and tweak it.

Here's the problem: it has a problem with locking.  I know the lock
here is important, else I would have an unreadable header collection,
but with only one message coming in and my ~/.mutt/ directory
permissions set at 777, I don't know why this happens.

Here it is (sorry for the long lines):

procmail: Match on ! "(^(((Resent-)?(From|Sender)|X-Envelope-From):|>?From 
)([^>]*[^((_dot_)%(_at_)a-z0-9])?(Post(ma(st(er)?|n)|office)|(send)?Mail(er)?|daemon|mmdf|n?uucp|ops|r(esponse|oot)|(bbs\.)?smtp(error)?|s(erv(ices?|er)|ystem)|A(dmin(istrator)?|MMGR))(([^).!:a-z0-9][-_a-z0-9]*)?[%@>
      ][^<)]*(\(.*\).*)?)?$([^>]|$))"
procmail: Locking "~/.mutt/headc.gz.lock"
procmail: Error while writing to "~/.mutt/_dvC.lV2M7.acadia"
procmail: [11229] Fri Jun 22 11:34:06 2001

After about 8 errors, this is what happens:

procmail: Lock failure on "~/.mutt/headc.gz.lock"
procmail: Executing " gzip >> ~/.mutt/headc.gz"
procmail: Assigning "LASTFOLDER= gzip >> ~/.mutt/headc.gz"

So it looks like it executes anyway.
The lockfile and the .mutt/_*.acadia file never seems to appear, and
later on in the same message processing, I see this:

procmail: Extraneous locallockfile ignored

So what lockfile?

Any ideas here folks?

Thanks in advance.

Lou

-- 
Louis LeBlanc
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
leblanc(_at_)acadia(_dot_)ne(_dot_)mediaone(_dot_)net
http://acadia.ne.mediaone.net                Ô¿Ô¬
_______________________________________________
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>
  • procmail locking question., Louis LeBlanc <=