On Tue, 20 Nov 2007 20:03:38 +0100, Gunnar Hjalmarsson
<[EMAIL PROTECTED]> wrote:

>Bo Berglund wrote:
>> The problem is that we are now being swamped by requests filled with a
>> lot of http links instead of our customers business related questions.
>> It hurts only our sales people who have to read all of the crap the
>> spammers enter. So I would like to stop it right at the website by not
>> sending anything at all out with links in the text.
>
>It's common practice to include web addresses in emails, so treating all 
>messages with 'http://' in them as spam will most likely give you false 
>positives.
>
>CGI::ContactForm, as Owen mentioned, uses two techniques to stop spam. 
>The 'spamfilter' regex is one of them, and there is also a cookie based 
>method for preventing automated messages from being sent.
>

OK, about common use of web addresses, but our forms are designed to
collect product interest information via checkboxes and they also have
a small text input field for a request from the customer to us. Our
legitimate customers so far have never entered an URL into a
legitimate request...

What the spammers do is to autofill the textbox on the form with text
that is about 50% URL links and the remainder is bogus text.
What we now want is to detect those emails at the webserver itself so
they don't get sent at all. Anyone entering URL:s as part of a product
information request is spamming in my mind.
They are spamming our customer support and sales persons who are
processing the received emails....


I also had a look at the link to the ContactForm page but I must say I
don't understand it. Looks like I am supposed to install something on
the webserver (using make), but ours is a web hosting company that
only allows us to FTP our files to the server. They also allow PERL
cgi scripts, but that is about all access I have.

What I am looking for here is help in formulating the PERL syntax
right so that my existing script will exit without sending an email if
the "bad" words are found. These are just http:, href= and url= (case
insensitive matching).

My first test failed since I received an email when I tried to post a
text which I copied from one of the spam mails.

If possible see my previous post where I wrote what I put into the
script and which turned out not to work.

Thanks,

Bo Berglund


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to