Re: duplicate emails
Lee Braiden wrote:
Hi,
I'm getting a lot of duplicate emails occasionally, as my ISP's POP3
server seems to drop connections a lot :/ I've tried both fetchmail
and getmail, with no luck. Best I've managed is to limit the number of
mails retrieved in one run, as a sort of poor man's transaction :)
So, two things: any other way I can avoid this problem, and... are
there any programs that can scan a maildir (maybe recursively) and
delete dups?
Thanks :)
procmail is your friend...
# remove duplicate emails
:0 Wh: msgid.lock
| formail -D 16384 msgid.cache
Reply to: