sapi/milter
| From: | Harald Radi | Date: | Sun, 01 Dec 2002 20:42:29 +0000 |
| Subject: | sapi/milter | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-91979@lists.php.net to get a copy of this message | ||
hi guys,
a few minutes ago i checked in the first more or less working version of
sapi/milter. once compiled the binary can be used as a sendmail milter
plugin and you can process all mails in php. you can even change the
script without having to restart the milter (except the milter_init()
function will not be called a second time).
an example showing all the possible callbacks provided by the sapi is
here
http://cvs.php.net/co.php/php4/sapi/milter/milter.php
more info on milter and the api functions to process or reject mails can
be found here (all api functions are mapped to php userspace)
http://www.sendmail.com/partner/resources/development/milter_api/
regards,
Harald Radi
--
nme - we can heal you
http://www.nme.at
Ortner Radi Schwenk GnbR
Tumpenweg 528
5084 Grossgmain, Salzburg
Austria