On Sat, 2010-01-23 at 20:53 +0100, Karsten Bräckelmann wrote: > Appears the bounce, any email addresses and the attached "original" are > *severely* munged. Spotted a hint, need this to generate a direct > bounce. > > Will unsubscribe the offender, if I can track it down.
Done. How nice of them to include and preserve the Return-Path header... While dropping Received headers, and rewriting virtually any other informative header like Message-Id, Date and even To in the enclosed message/rfc822 "original" MIME attachment. -- char *t="\10pse\0r\0dtu...@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; }}}