Re: [Evolution] feature=remove_double_mail(); exist(feature)?where:feature.new(); banner(' :-)');
- From: Tony Earnshaw <tonye billy demon nl>
- To: evolution lists ximian com
- Subject: Re: [Evolution] feature=remove_double_mail(); exist(feature)?where:feature.new(); banner(' :-)');
- Date: Tue, 04 May 2004 07:27:31 +0200
man, 03.05.2004 kl. 15.55 skrev guenther:
If you really are using third party tools like fetchmail, you should not
be afraid of using third party tools for eliminating dupes, in this case
formail... ;)
$ cat mbox | formail -D 8192 .msgid -s >> dedupe.mbox
$ mv -f dedupe.mbox mbox
Anything like that for email stored in Maildirs (specifically, Courier
IMAP)?
Oops, yes, should have mentioned the above is for mbox files only -- as
one could guess by the file names... ;)
No maildir solution OTOH unfortunately, but 'man formail' will be
informative. As formail will store the cache on disk after it is done
precessing the current job, filtering on unique Message-IDs should be
possible with single mail files in maildir format as well.
Maybe someone else already has done this?
Two solutions for Courier-based tools (reformail, maildrop):
1: maintenance:
http://www.kremvax.net/howto/mail-duplicates.html
Works a treat :)
2: regular delivery, /etc/maildroprc:
# Avoid messages with duplicate Message-IDs
`/usr/local/bin/reformail -D 8000 duplicate.cache`
if ( $RETURNCODE == 0 )
exit
--Tonni
--
We make out of the quarrel with others rhetoric
but out of the quarrel with ourselves, poetry.
mail: billy - at - billy.demon.nl
http://www.billy.demon.nl
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]