Re: [Evolution] The Mail Bomb


yes, I would really appreciate if you could republish that script.

Well, here it is. Some notes:

I tested my original script in a very small environment. It did work for
me. You really should backup all your data before, though!

Please read the original post! You will have to adjust at least the
Cache value:

My original script will fail, if you have whitespace in your folder
names! The second post to the list has some slight corrections on this
by Simon McClenahan. The script was reported to work by a subscriber to
this list.

The corrected script and the command to run:

--- ---
[ -e dedupe.mbox ] && echo 'panic: dedupe.mbox exists, exiting' && exit

cat "$1" | formail -D 8192 .msgid -s >> dedupe.mbox

mv -f dedupe.mbox "$1"
--- snipp ---

Then the command to execute would be:
% find . -name 'mbox' -print0  | xargs -0 -n 1 ./

Again: Be careful and back up your data! And please drop a note, if it
works for you... ;)


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]