procmail
[Top] [All Lists]

Re: /var full, using duplicate removing

2001-12-04 00:14:53
Bart suggested code to Pixel that included this:

| LOCKFILE=msgid.lock
|
| # Save the current cache and update it
| :0 Wh
| * ? cp msgid.cache msgid.save
| | formail -D 8192 msgid.cache
|
| # If the message wasn't in the cache, attempt delivery
| :0:
| $DEFAULT

It looks funny to use a local lockfile on the save to $DEFAULT while a
regional lockfile is in effect, but if not all messages go through this part
of the rcfile and some are written to $DEFAULT without securing msgid.lock,
then what Bart wrote is the right thing to do.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail