I couldn't get the perl code above to work right, so I kept searching and I found the one on the web site below, It seems to work great! It removed 2400 duplicates from a 200MB mbox file. It also automatically creates a backup for you.
in reply to Re: Re: Remove Duplicates from a mbox file
in thread Remove Duplicates from a mbox file