[pmmail-list] SPAM filtering with
PROGRAM.<..\UTIL\CK_blacklist.cmd>
Maynard Riley
pmmail-list@blueprintsoftwareworks.com
Tue, 21 Jan 2003 14:38:53 -0600 (CST)
On Sun, 08 Dec 2002 17:50:27 +0100 (CET), Winfried Tilanus wrote:
>>Luko has added much enhancement to Winfried's basic functionality, from
>>what I can garner in the Rexx. Thanks!
>
>Not only a big enhancement in the basic functionality, but also a big
>improvement in speed and a huge reduction of the risk of losing
>messages.
ref:
Winfried: spamcheck.cmd at http://www.xs4all.nl/~wtilanus/spam.html
Luko: blacklist.zip at http://www.willms-edv.de/freesoft/
So now I'm getting around to trying Luko's version and am experiencing
the following difficulties, using standard REXX as supplied with MCP2:
error displayed:
FromDomain Nr. 3 SMTP04.MAIL.YAHOO.COM ([202.170.21.98])
161 +++ accountName = LEFT(accountINIstring, POS(D2C(0),
accountINIstring
) - 1);
REX0040: Error 40 running Y:\TEMP\CK_BLACKLIST.CMD, line 161: Incorrect
call to routine
I comment out the offending line and continue by command line:
CK_blacklist.cmd spam.msg out.msg debug
file out.msg is same content as file ck_blacklist.log
file spam.msg is unchanged, though one header passed the test.
Maybe I don't understand everything about PMMail's process of REXX
Exit. PMMail passes a single parameter of the message file name. Though
I don't find it documented, I presume that after the REXX exit, PMMail
continues to process the same filename. That works fine with Winfried's
original spamcheck.cmd which adds a header line for positive test
results.
Luko's documentation at head of CK_blacklist.cmd, and testing
experience, indicates that the original file is not modified, but that
one of three "return values" may be returned, and presumably a null
return value for no postitive test results. To my knowledge PMMail
cannot deal with return values.
In the end, I don't know how to use Luko's program with PMMail/2.
If I run it with just the single parameter which PMMail would use, it
also aborts with:
156 +++ rc = STREAM(ergebnis, 'C', 'OPEN WRITE');
REX0040: Error 40 running Y:\TEMP\CK_BLACKLIST.CMD, line 156: Incorrect
call
to routine
Successfully enjoying Winfried's version for a year now by following
the REXX Exit filter with one which checks for header lines inserted by
spamcheck.cmd
Certainly I am missing something; but I can't see what that is; can
you?
Thanks,
-- Maynard
- pmmail-list - The PMMail Discussion List ---------------------------
To POST to the list, send your message to:
pmmail-list@blueprintsoftwareworks.com
To UNSUBSCRIBE, send a message to mdaemon@bmtmicro.com
with the first line of the message body being...
UNSUBSCRIBE pmmail-list@blueprintsoftwareworks.com
---------------------------------------------------------------------