On Fri, 24 Mar 2000, Gero Reichard wrote:
> > > :0
> > > * ^TO_:.*mutt-users.
> > > |gzip -c $s >> ~/Mail/mutt-users.gz
> Until now I never had problems with loosing mail. So I didnt need
> any "lock". BTW: Should I lock? What? Why? (As long as I'm the only
> person on my computer..)
Above you have a command to append to mutt-users.gz. IMHO you should
lock this folder before writing to it, because otherwise a second
process (either mutt or a second procmail instance) could write to
this file at the same time, which may cause trouble.
> Anyway..Is this right now a problem I can fix somehow?
I would try this procmail rule:
:0:
* ^Sender: owner-mutt-users@mutt\.org
|gzip -c $s >> ~/Mail/mutt-users.gz
If I understand procmailrc(5), the extra ':' should use the name after
'>>', append $LOCKEXT and use this as the lockfile.
Tschoeeee
Roland
--
* [EMAIL PROTECTED] * http://www.spinnaker.de/ *