[antispam-f] Re: User Tests

  • From: Dave Barnett <as10@xxxxxxxxxxxxxxxxx>
  • To: antispam@xxxxxxxxxxxxx
  • Date: Mon, 07 Apr 2008 09:35:26 +0100

In a recent message           Harriet Bazley 
<lists@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

> On 4 Apr 2008 as I do recall,
>           Dave Barnett  wrote:


>> Now, amongst the current spam tsunami, I am finding increasing numbers
>> of spams with the domain part of the 'From:' header in capitals.   Is
>> there any further advice that I missed and that might help?
>> 
> This is the code that I posted at the time

> DEF FN@domaincaps

[snip code]
I just pasted that code at the end of my user tests file.

> with the proviso that you also need to set up the 'uppercase table' in
> the (by default blank) PROCUserTest_Initialise at the start of the file,
> which is probably the bit that threw you:

> DIM user_uppercase% 255
> SYS"Territory_UpperCaseTable",-1 TO ptr%
> FOR n%=0 TO 252 STEP 4
>   user_uppercase%!n%=ptr%!n%
> NEXT n%
> REM take copy of uppercase table

That is where I put it.

> N.B. I haven't actually tested this code in a 'blank' copy of UserTests
> - I just pasted it out of my own highly-customised file - so it's
> possible that there might be other dependencies that I hadn't
> realised....

More than probable.  I do have other of your excellent UserTests which 
is why I hoped that this would work too.

The error log shows:
07 Apr 09:24:21 100 ***Error***
07 Apr 09:24:21 100   Title    : Error from AntiSpam
07 Apr 09:24:21 100   Task     : AntiSpam
07 Apr 09:24:21 100   Message  : No such function/procedure 
'FN@Domaincaps' [Delete From: @ Domaincaps]
07 Apr 09:24:21 100

There is no need to spend time on this, AntiSpam reduces the flood 
from drowning to paddling depth.

-- 
Dave
Keep GMT all year

Other related posts: