Re: duplicate emails
On (19/05/04 06:40), Tom Allison wrote:
> 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
The default behaviour for exim4 is to eliminate duplicates (according to
the official guide) - I would guess that exim3 is similar.
Regards
Clive
--
http://www.clivemenzies.co.uk
strategies for business
Reply to: