On Tue, April 17, 2007 12:22, BG Mahesh wrote:
> hi
>
> I want to pass the comments/text entered by users on a form to
> SpamAssassin
> for approval. If it approves it only then I want to accept the text, else
> I
> want to inform the user that the text is Spam and reject the user's
> comments.
>
> We use PHP and want to know how to implement this.

system() or popen()

http://uk.php.net/manual/en/function.popen.php

Better to call spamc rather than spamassassin.

Reply via email to