I need a few mods making to an existing perl program that finds duplicate messages.
The original program is here: [login to view URL]
The program needs to be modified so that it runs on a dovecot Maildir installation. It must traverse all child folders of a mail account. The comparison of messages only needs to be done within the current folder (i.e. we are not comparing every message with every single message in every single folder). The current version of the program only works if you specify a folder name to de-duplicate. As well as this I need it to work correctly if you do not specify any folder name (i.e. all folders are to be processed).
I also need to ensure that we can specify different parameters to check for duplicates including:
Author (From)
Recipients (To)
Message id
Send date and time
Size
Subject
by using different start-up parameters.
We also need an option to either shift the duplicated messages to the trash folder in the account or just delete them.
Sounds like what you need is a simple wrapper to enhance the script to traverse directories - simple stuff. I've over twelve years of experience and am confident I can get this done swiftly and efficiently. Feel free to contact me!