procmail
[Top] [All Lists]

Duplicates sent from lists

2004-02-17 04:33:46
I'm struggling with a good solution to the whole "getting CC's of list posts" issue.

I use to have a two step filter that checked for a list-ID for each list and then checked for the list address in the ^TO_, but that got very ugly very fast.

since I am now using Sean's generic list capture recipe (slightly modified to include List-ID:)

:0
* 9876543210^0 ^(List-Post:[ ]*(<mailto:)?|List-Owner:[ ]*(<mailto:)?owner-)\/[-A-Z0-9_+]+
* 9876543210^0 ^(List-Id:.*<|X-Mailing-List:[        ]*)\/[-A-z0-9_+]+
* 9876543210^0 ^(Sender:[ ]*owner-|X-BeenThere:[ ]*|Delivered-To:[ ]*mailing list )\/[-A-Za-z0-9_+]+
* 9876543210^0 ^Sender:.* List"? <(mailto:)?\/[-A-Z0-9_+]+
{ LISTNAME=$MATCH }

this method doesn't make much sense anymore. Of course, the CC's are generally the first messages to arrive, so what happens now is the CC arrives in my "List Replies" mailbox and the message to the list never arrives because it gets trapped in the msgid.cache.

I could run the duplicate check AFTER I sort mail list messages, but then I just get two copies.

What I want is something that says "Trash this message but let the next message with this Message-ID through"

What I want to avoid is writing a recipe that is specific to the specific mailing list I happen to be subscribed to at the present moment. (The "Holy Grail" of duplicate message handling, perhaps?)


--
Oh and I could be a genius
if I just put my mind to it
And I, I could do anything
if only I could get 'round to it.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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