On Sun, 13 Jul 1997 16:13:02 +0200, Martin Ramsch
<ramsch(_at_)forwiss(_dot_)uni-passau(_dot_)de> wrote:
On Jul 13, Era Eriksson <era(_at_)iki(_dot_)fi> wrote:
How's this instead:
:0W:msgid.lock
* ! ^ X-Loop:.*qz\.little-neck\.ny\.us
* ? formail -D 32768 msgid.cache
duped-mail
Won't you run into troubles eventually, because you could get
simultanious writes to the cache file "msgid.cache"?
Good point, thanks!
LOCKFILE=msgid.lock
:0:
* ! ^X-Loop:.*qz\.little-neck\.ny\.us
* ? formail -D 32768 msgid.cache
duped-mail
LOCKFILE
Apparently, the W flag will also be unnecessary when the program is
invoked via ? instead of on the action line.
/* era */
--
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r. <http://www.iki.fi/~era/>
* Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>