Download: wamcheck.zip
WAMCHECK is freeware. Questions or support should be directed to: Bill Morgan
WAMCHECK is designed to be used with Declude anti-spam software. It is an
“externalplus” test.
Per Declude instructions, it returns a 1 for a whitelisted message, a 100 for a
blacklisted
message and a 0 for anything else.
It works by examining the “from” e-mail address and the subject line. It
compares this data
to information in a user file containing whitelist/blacklist information. The
program sends a
return code to the calling program, presumable declude.exe. It also generates a
log file with
one line entered per message plus one line for any invalid listings in the
whitelist/blacklist
file. A daily log file will be in the same directory as the program and will be
named WAMddmm.LOG.
To us this program, you will need to copy the wamcheck.exe file to your
computer. In the
example below, the directory c:\imail\declude is used. Next you will need to add
a line for an
externalplus program in your global.cfg file. i.e.:
WAMCHECK externalplus nonzero "c:\IMail\Declude\wamcheck.exe" 10 0
You shold also add an entry in your $default$.junkmail file or user .junkmail
file. Mine looks
like this:
WAMCHECK HOLD
When the program is called, it checks for a user file. If one is found, it
checks to see if any
whitelist/blacklist action should be taken. The name of the file is based on the
“to” e-mail address.
Here is an example:
To: johnd@domain.com
With the wamcheck.exe command line as shown above, the program would look for
the following file:
c:\Imail\Declude\domain.com\johnd.wamcheck
This file can contain lines of several types. Here is an example:
Listing of johnd.wamcheck:
# any line starting with a # sign is a comment and ignored by the program
# a rule line will start with either WHITELIST or BLACKLIST
# next item in the line will be either FROM or SUBJECT. The specific data will
follow that.
#
# if you add a line starting with STRICT, any message that is not explicitly
# whitelisted will be blacklisted. Be very careful with this.
#
# here are some examples:
WHITELIST FROM @declude.com
BLACKLIST FROM vote@vote.com
WHITELIST SUBJECT this is not spam
This line will generate an error in the log file – handy for troubleshooting
#STRICT if this line were not commented, only messages from @declude.com or
subjects
#containing "this is not spam" would get through.
v1.21 12/20/03
fixed problem of "strict" not working properly and some rules being ignored.
v1.2 12/13/03
added some new features (domain level processing, loglevel, etc)- e-mail me for details.
v1.11 12/9/03
fixed problem of 0 length subject line causing program to crash on Server 2003
platform
v1.1 12/2/03
added an entry in the log file for invalid lines in .wamcheck file.
added domain to the "to" entrys of the log file
v1.0 8/21/03
first working version of the program