procmail
[Top] [All Lists]

Re: avoiding duplicates from separate mailing lists?

1997-10-23 05:35:25
"ee" == era eriksson <era(_at_)iki(_dot_)fi> writes:

ee> On Wed, 22 Oct 1997 19:09:38 -0400, Justin Lloyd
ee> <jlloyd(_at_)hisd(_dot_)harris(_dot_)com> wrote:
I am on two mailing lists that are similar in their nature and come
from the same domain. Sometimes, however, a person sends the same
email to both lists. Is there a way to have procmail detect this
and filter out the second message?

ee> This should be outright trivial as long as neither list mucks with the
ee> original Message-Id. Look in procmailex(5). 


I should have seen this on my last go-through of that man page...I don't know
how I missed it.  I added the rule from the man page and it works, except I
get the following message in my logfile for every email I get:

  formail: formail: cannot open

My rc file is exactly from the man page (and the other two emails I received
from people on this list, thank you :)

  :0 Whc: msgid.lock
  | formail -D 8192 msgid.cache

     :0 a:
     duplicates

and it is the first thing in my overall rc file, except of course for variable
configuration.

JcL

-- 
Justin C. Lloyd               Harris Corporation, ISD     Voice  407/984-5558
jlloyd(_at_)harris(_dot_)com             505 John Rodes Blvd.        Fax    
407/984-6323
Unix System Administrator     Melbourne, FL  32935        Office  W3/1806

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