Re: Loading receiver within my spamassassin plugin.

2010-12-14 Thread Karsten Bräckelmann
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 : > > > How can i retrieve such address? > > > > > > $mailTo = $pms->get('EnvelopeTo:addr'); > > > dbg("EvelopeTo-Addr read from mail $mailTo"); > > > > Does

Re: Loading receiver within my spamassassin plugin.

2010-12-14 Thread Massimiliano Giovine
# 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? I have to compare it with a list in a database and with a custom header but this is not important.

Re: Loading receiver within my spamassassin plugin.

2010-12-14 Thread Karsten Bräckelmann
On Tue, 2010-12-14 at 22:51 +0100, Massimiliano Giovine wrote: > I wrote a plugin that tries to do some operation on the receiver mail > address before the message is delivered. Operation? You're not trying to change it, are you? > How can i retrieve such address? > > $mailTo = $pms->get('Envelo

Loading receiver within my spamassassin plugin.

2010-12-14 Thread Massimiliano Giovine
I wrote a plugin that tries to do some operation on the receiver mail address before the message is delivered. How can i retrieve such address? $mailTo = $pms->get('EnvelopeTo:addr'); dbg("EvelopeTo-Addr read from mail $mailTo"); and i have this output on the log: Tue Dec 14 22:45:54 2010 [2807]