[PHP] PHP milter SAPI: problem with smfi_getsymval

2007-01-09 Thread Atpic
Hi, I compiled the milter sapi, the example in the distribution works well. BUT when I try to get the values of the sendmail macros with the smfi_getsymval function, i desperately get a blank string. I used strace and I do see the "i" sendmail macro in a red system call but I can no red its value

Re: [PHP] PHP milter SAPI: problem with smfi_getsymval

2007-01-10 Thread Atpic
Hi, I did not get a reply to my question on this list, so I raised a bug. The bug was confirmed and fixed within 24 hours. Thank you the PHP team! FYI the bug number is 40083 http://bugs.php.net/40083 You can now start filtering spam using your favorite programming language! Thanks Alex, Atpic.co

Re: [PHP] PHP milter SAPI: problem with smfi_getsymval

2007-01-10 Thread Atpic
here: http://www.sendmail.org/doc/sendmail-current/libmilter/docs/ Thanks Alex, Atpic.com Webmaster http://atpic.com > Atpic wrote: >> Hi, >> >> I did not get a reply to my question on this list, > > most likely because nobody here had much of a clue as to how to help, &g

Re: [PHP] PHP milter SAPI: problem with smfi_getsymval

2007-01-10 Thread Atpic
I which is compatible with the sendmail API, but to my knowledge Postfix implements only a subset of the API. Thanks Alex, Atpic.com Webmaster http://atpic.com > Atpic wrote: >> Hi Jochem, >> >> Well, the best known spam filtering solution is PERL based >> (mimedefang/spamassa