[Evolution] feature=remove_double_mail();
exist(feature)?where:feature.new(); banner(' :-)');
guenther
guenther@rudersport.de
Mon, 03 May 2004 13:38:03 +0200
> Sometimes, my fetchmail break because of bad mail and it doesn't leave
> the pop server with a QUIT command so all the retrieved mails are not
> removed from the server and I get them twice before react.
Is this 'fetchmail' as in /usr/bin/fetchmail or Evolution fetching mail?
> If fetchmail
> break on the mail 450, you can imagine the what happens when I have to
> remove the 450 double mails !:-| Is there any feature that remove the
> mails present many time ? (sylpheed does it)
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
The above commands should remove all duplicated messages judging from
the Message-ID header. Use it at your own risk. For more information
please see an older post:
http://lists.ximian.com/archives/public/evolution/2003-June/030146.html
If you are not using fetchmail, this command will work nonetheless. ;)
...guenther
--
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}