On Sun, 14 Dec 1997, Alan J. Flavell wrote:
:0 Wh: msgid.lock
| formail -D 8192 msgid.cache
I think you need to make the second line a condition, not an action. Also
the lockfile your using locks a file named "msgid" not msgid.cache. And
you need full pathnames.
:0 hw: [cachefile]$LOCKEXT
* ? formail -D [size] [cachefile]
/dev/null
Formail either 1) writes the msgid in the cache and exits with a failure;
or 2) finds the msgid in the cache already and exits success enabling
delivery to /dev/null.
If you specify [size] or [cachefile] with variables you'll need to use a $
as the leading chacter in the condition: * $ ? formail...
For most purposes a small cache size works fine. 1k will hold about 20
msgids.
David Hunt