Hi, folks --

After the first few messages about duplication started going back and
forth, I wondered why I was having such an easy time of things.  Then I
realized that my message count from procmail *was* going up (I created
a little alias to grep Folder in my log file and count up the total
with awk) even though I wasn't seeing the dupes -- and I remembered my
formail duplicate suppression recipe, blatantly stolen from somewhere.  
For those interested, here it is:

        :0 Wh: msgid.lock
        | $FORMAIL -D 8192 $HOME/.procmail/msgid.cache

I put it right in my first recipe subfile, right before I make a
backup of the incoming message (I figure that I don't need to back it
up if I really have seen it already).  Heck, for that matter, here is
the alias, too:

        egrep Folder $HOME/.procmail/.mail.log | \
        awk 'BEGIN {s=0} {s+=1;print "\$1","\$2"} END {print s}' | \
        sort -u


Hope this is of some interest to folks...  Again and again, no doubt ;-)

:-D
-- 
David Thorburn-Gundlach         * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]      * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]         Helping out at Pfizer
http://www.poboxes.com/davidtg/
Note: If poboxes.com gives you fits, try sector13.org in its place. *sigh*

PGP signature

Reply via email to