On Mon, 2009-10-05 at 19:56 +0200, Benny Pedersen wrote: > On man 05 okt 2009 17:16:06 CEST, Karsten Bräckelmann wrote
> > Without checking -- I believe, all you need is a redirector_pattern for > > the IP redirector, to extract the target URI. The list of URIs should > > also contain a cleaned version of the extracted target URI, with the > > escapes converted. > > i have had this in mind for so long with alot of spam on yahoo, but > dont know how to make that work :/ redirector_pattern m~http://example.net/redir?uri=(target)~ ^^^^^^^^ The redirector_pattern pretty much is a simple uri rule. With one notable difference: It needs exactly one capturing match. The captured match will be added to the list of URIs, just the same as if it would have appeared as a plain, ordinary URI in the message. Entirely from memory -- down with a cold, can't be arsed to cross-check my claims today. ;) guenther -- 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; }}}