Re: How to detect if a text body contains forbidden words

2007-11-20 Thread Bo Berglund
On Tue, 20 Nov 2007 19:01:08 +0100, Bo Berglund <[EMAIL PROTECTED]> wrote: >> >>sub spam_reject { >> if ($CONFIG{'Feedback'} =~ /href=|http:/i ) #i = ignore case >> { >> # reject code goes here >> push(@ERROR,'*SPAM*'); >> } >> >> if (@ERROR) { >> &error('spam_contents', @ERROR

Re: How to detect if a text body contains forbidden words

2007-11-20 Thread Bo Berglund
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 re

Re: How to detect if a text body contains forbidden words

2007-11-20 Thread Gunnar Hjalmarsson
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 n

Re: How to detect if a text body contains forbidden words

2007-11-20 Thread Bo Berglund
On Tue, 20 Nov 2007 18:39:25 +0100, Bo Berglund <[EMAIL PROTECTED]> wrote: >On Tue, 20 Nov 2007 08:25:15 -0500, "Lou Hernsen" ><[EMAIL PROTECTED]> wrote: > >>Hallo >>I'm just an amature perl writer.. >>but I would think that using the m// (match) would help. somthing like >># $CONFIG{'Feedback'} =

Re: How to detect if a text body contains forbidden words

2007-11-20 Thread Bo Berglund
On Tue, 20 Nov 2007 19:58:50 +1100 (EST), "Owen" <[EMAIL PROTECTED]> wrote: >> I am using a modified version of the old formmail.pl script on my >> website to get information requests mailed to me. >> I have modified the script to NOT send email other than to two fixed >> (hardcoded) addresses (my

Re: How to detect if a text body contains forbidden words

2007-11-20 Thread Bo Berglund
On Tue, 20 Nov 2007 08:25:15 -0500, "Lou Hernsen" <[EMAIL PROTECTED]> wrote: >Hallo >I'm just an amature perl writer.. >but I would think that using the m// (match) would help. somthing like ># $CONFIG{'Feedback'} = the body of the message, change to whatever it is in >the program >if ($CONFIG{'Fe

Re: How to detect if a text body contains forbidden words

2007-11-20 Thread Lou Hernsen
Hallo I'm just an amature perl writer.. but I would think that using the m// (match) would help. somthing like # $CONFIG{'Feedback'} = the body of the message, change to whatever it is in the program if ($CONFIG{'Feedback'} =~ /href=|http:/i ) #i = ignore case { # reject code goes here exi

Re: How to detect if a text body contains forbidden words

2007-11-20 Thread Owen
> I am using a modified version of the old formmail.pl script on my > website to get information requests mailed to me. > I have modified the script to NOT send email other than to two fixed > (hardcoded) addresses (myself and our sales dept). I had to do this > becvause spammers started to use my

How to detect if a text body contains forbidden words

2007-11-19 Thread Bo Berglund
I am using a modified version of the old formmail.pl script on my website to get information requests mailed to me. I have modified the script to NOT send email other than to two fixed (hardcoded) addresses (myself and our sales dept). I had to do this becvause spammers started to use my request pa