Page 1 of 1

finding spam?

Posted: Sun Apr 30, 2006 1:27 pm
by coolaid
im not sure, but i think i remember a way of finding wether some form input had spam in it. like bogus strings such as "alsdhfe".


well, is there?

Re: finding spam?

Posted: Sun Apr 30, 2006 1:52 pm
by Chris Corbyn
coolaid wrote:im not sure, but i think i remember a way of finding wether some form input had spam in it. like bogus strings such as "alsdhfe".


well, is there?
You might want to grab a copy wordpress.... I'm pretty sure it comes bundled with a SPAM filter so you could take a look at that ;)

I've often wondered how easy it would be to get spammassin (designed for emails) to work with simple strings in PHP.

Posted: Sun Apr 30, 2006 3:49 pm
by feyd
WordPress doesn't have a SPAM filter that I'm aware of (by default,) there could be a plugin somewhere though.

Posted: Sun Apr 30, 2006 6:39 pm
by Chris Corbyn
feyd wrote:WordPress doesn't have a SPAM filter that I'm aware of (by default,) there could be a plugin somewhere though.
Yeah I'm positive there's something for wordpress. Prior to version 2 when I downloaded a copy it had a spam filter included; you could customize it's behaviour too. Must be a plugin somewhere... I'll have a search.

FYI: SpamAssassin is written in Perl.... things written in Perl convert t PHP damn easy ;) You'd need to drop the bits that scan the email headers though.