Re: [Evolution] feature=remove_double_mail(); exist(feature)?; banner(' :-)');

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 

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?


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; }}}

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]