procmail
[Top] [All Lists]

find duplicate messages after delivery

2007-11-14 07:19:54
find $MAIL \
    -type f \
    -exec sh -c 'echo {} `formail -cxMessage-Id < {}`' \; \
  |uniq -f1 --all-repeated=separate 

For the "--all-repeated=separate" you need a gnome uniq.
Check `man uniq' and/or `man guniq`. 

-- 
Groet, Ruud
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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