++ 13/11/99 17:18 +0000 - Telsa Gwynne:
>I think you need an external program. The manual pages for procmail
>include this as one of their examples (in 'man procmailex', quite a
>way down the page):
[...]
> :0 Wh: msgid.lock
---------------------^
> | formail -D 8192 msgid.cache
There shouldn't be a space there. You'd better change this to
:0 Wh :msgid.lock
| formail -D 8192 msgid.cache
or this
:0 Wh:msgid.lock
| formail -D 8192 msgid.cache
I have the same kind of thing, but mine will add a header to the
duplicate message as i still want to see the duplicate message, but with
notification. This is the recipe i use for this:
:0Whc:msgid.lock
| formail -D $CACHE_SIZE $CACHE_FILE
:0a
{
nl
nl = ${notice+"$NL"}
notice = "$notice${nl}X-Note: Message-ID seen before recently."
}
The weird action lines between the curly braces are because of other
checks i do which add fields to the header (and i don't want to call
formail each time a header needs to be added, so these fields get
collected first), see http://www.mediaport.org/~sister/personal/procmailrc.
I think you can safely rewrite the second part of the recipes above to:
:0a
| formail -a X-Note: Message-ID seen before recently."
Hope this helps. -Rejo.
--
= Rejo Zenger [Sister Ray Crisiscentrum] [EMAIL PROTECTED]
= http://mediaport.org/~sister PGP: see headers
--------------------------------------------------------------------------------