procmail
[Top] [All Lists]

Dup check, no dumping of message?

1999-10-31 08:24:47
Hi,

With all the examples i have seen, as well as all the rcipes i have seen
in the archives, all checks for duplicate Message-ID's will dump a
message if the messages has a Message-ID that has been seen before.

What i would like to have is formail to add an extra headerfield instead
of dropping a message. Will this work?

  :0Whc: msgid.lock
  $FORMAIL -D 8192 msgid.cache
  [action for adding extra header]

Does this 'c' work or do i have to use another option for formail? From
the manpage of formail:

       -D maxlen idcache
            Formail will detect if the Message-ID of the  current
            message  has  already been seen using an idcache file
            of approximately maxlen size.  If not  splitting,  it
            will  return  success  if a duplicate has been found.
            If splitting, it will not output duplicate  messages.
            If  used in conjunction with -r, formail will look at
            the mail address of the sender instead  at  the  Mes­
            sage-ID.

So, is this 'splitting' what i need? If so, i should use the -s option
for formail?

Any help is welcome, -Rejo.

-- 
= Rejo Zenger  [Sister Ray Crisiscentrum]               
rejo(_at_)sisterray(_dot_)xs4all(_dot_)nl
= http://mediaport.org/~sister                                  PGP: see headers
--------------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>