You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by ha...@t-online.de on 2006/04/08 10:02:52 UTC
Re: apache httpd + spam assassin = web without spam?
nowadays, spammer not only goes to mail.
they now also spamming blog comments, wiki, guestbook, etc....
is there a way to setup apache to use spam assassin rule?
so that apache will check first (dnsbl or some other way) if the
posted content is spam or not?
or, perhaps only let those spammers to read our web (is it http get?)
and block them from posting anything in our web (http post?)
any way??
rgds,
Hi,
the bad people rarely ever come from a single ip that can be blocked from posting.
However if they want to add content to wikis or blogs with some url in it, it should be
possible to detect those urls.
Looks like one approach is to take some code from SA to parse the message. If you do not want
to mess with SA internals, you could also add some fake headers to the message
(like you just received it via mail), pass it through SA, and then strip off the headers again.
If the guestbook or whatever blocks html (i.e. turns < into < to disable it), then there would be a single
spot in the code which accepts some [url] notation or auto-converts possible web address
to a link. Adding dns checks at that point in the code should help quite a lot
Wolfgang Hamann