I was wondering if any of you have a small .procmailrc filter that
ignores duplicate mail with the same subject header. Mind you,
not based on msg-id.
Adding the following before any other recipes implements what you want:
:0 hW :$SUBJCACHE.lock
|formail -R subject: message-id: -D 65536 $SUBJCACHE
Hey, this is cool. Now more questions:
1. Does this drop the old message-id or does it make two message-id fields?
(assuming two fields)
2. Wouldn't this still ignore duplicate IDs as well as duplicate subjects?
3. Are there mail handling programs that will crash and burn when a message
has two IDs?