Does anybody know a way to check an email with SpamAssasin before sending it to the mail queue.
I have a form where users can enter whatever they want to send emails, I would like to check it before using the mail() function, this way I'll be able to check who is using that form to send SPAM.
The mail() function returns immediatelly after putting the email in the mail queue.
Any help woul dbe appreciated.