On Fri, 2004-05-28 at 03:31, Merlin wrote:
> Hi there,
> 
> I am running a community site in php, where members can be contacted through a 
> web form. Yesterday a guy contacted about 50 of those members with a spam text.
> 
> Now I am trying to find a way to identify spam text via php. This looks like a 
> common task to me, so I hope that I have not to invent the wheel twice. Maybe 
> someone knows a good script to do this?
> 
> Basicly it looks like that the text has to be checked against certain key words 
> and if they reach a certain amount of hits it is spam text.
> Has anybody a good idea on how to start on this?
> 
> Thank you for any hint,
> 
> Merlin

In your place I would utilize spamassassin to filter those outgoing
messages.  I use it on incoming email as filter with my email program. 
I pass each message to it and the return code tells me if it is spam or
not.  I then funnel messages marked as spam to a separate folder.

In your case you would take each outgoing message and run it through
spamassassin, evaluate the score assigned, and either pass it on or
redirect it for alternate processing.

Also by using spamassassin you can take advantage of its baysian
analysis.  You can train it so it recognizes the kind of traffic you
expect to see as ham and spam.  


-- 
Scot L. Harris <[EMAIL PROTECTED]>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to