procmail
[Top] [All Lists]

Re: Duplicate email messages...

1998-12-08 17:40:01

It's not working, period!!  What am I doing wrong...

As always, verbose log output helps; You might want to see what turns up if you
prefix that recipe with:

  VERBOSE=yes

Also, keep in mind that this recipe does *not* look for duplicate message.
It looks for duplicate *message-ids*.  If I send you two seperate messages
with identical content, this won't trap either one.

However, if I send a message to the procmail list and cc: you a copy (as I've
done with this one), the filter should stop whichever one arrives last.

LOCKFILE=$HOME/.lockmail

Are you *sure* you want to be setting a global lockfile?  You've already got
a local lockfile on the message-id filter, and procmail takes care of
locking implicit deliveries to $DEFAULT.

If you don't need, it's probably better for you, performance-wise, not to use
it.

-- Lars

---
Lars Kellogg-Stedman * lars(_at_)bu(_dot_)edu * (617)353-8277
Office of Information Technology, Boston University

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