Fixicated the copy-n-paste blob to reply... On Tue, 2010-12-14 at 23:08 +0100, Massimiliano Giovine wrote: > 2010/12/14 Karsten Bräckelmann <guent...@rudersport.de>:
> > > How can i retrieve such address? > > > > > > $mailTo = $pms->get('EnvelopeTo:addr'); > > > dbg("EvelopeTo-Addr read from mail $mailTo"); > > > > Does that EnvelopeTo header exist? > > > > I guess the actual header, if any, depends on your MTA and glue. The > > whitelist_to option in the Conf documentation has a list with likely > > candidates. > > I use Postfix. What Conf do you talk about? Conf documentation. The SA Conf documentation. http://spamassassin.apache.org/doc/Mail_SpamAssassin_Conf.html Also available on your system as 'man Mail::SpamAssassin::Conf'. > I have to compare it with a list in a database and with a custom > header but this is not important. -- 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; }}}