Hello Michael,

Friday, August 6, 2004, 12:42:30 AM, you wrote:
> I have created a few whitelist items for BayesIT 0.5.9.  When I go
> back to the config, I see that they have errors.  All I am told is
> that there are syntax errors and that I must fix them.

Current version is 0.5.10

> I do not get an error if I choose "any" and "contains" and the
> email address, but this is not very specific and allows spam holes, I
> think.

I'd suggest you use "To" along with "contains" if you are attempting
to white list based on a bare address ([EMAIL PROTECTED]) rather than a fancy
name ("Full Name" <[EMAIL PROTECTED]>)

For example in this email the "To" field contains the string
   "Michael L. Wilson" <[EMAIL PROTECTED]>

So comparing "[EMAIL PROTECTED]" with "equals" would fail (it's
only a subset not the whole field).

> So, please explain the options and the proper syntax.

Rather self evident to me but perhaps I'm just really, really odd.
Forgive me if I misunderstand what you are missing.  quick step by
step.

1) select the field for comparison (I hope these are obvious).

2 a) select the type of comparison:

Contains = this string is a subset of what is in the field.
Basically it's in there, somewhere :)
(usually the best option when matching bare email addresses)

Starts = refinement of contains except it must be at the beginning of
the field.

Ends = refinement of contains except it must be at the end of the
field.

Matches = successful regex comparison of the field contents (only use
this if you really know regex)

Equals = successful string comparison of the field contents (will not
be successful if there is any addition content in the field)

Not Contains = this string is not found anywhere in the field.

Not starts = refinement of not contains except it must not be at the
beginning of the field.

Not ends = refinement of not contains except it must not be at the end
of the field.

Not matches = failed regex comparison of the field contents. (only use
this if you really know regex)

Not equals = failed string comparison of the field contents.

2 b) determine if the comparison is case sensitive (case) or not case
sensitive (nocase).

3) specify the string that will be compared

4 a) name the rule (the display name that will be shown)

4 b) activate (or disable) the rule


-- 
Best regards,
 Lourdes

The Bat! 2.13 "Lucky" Beta/3 on Windows XP 5.1.2600 Service Pack 2, v.2149             
               


________________________________________________
Current version is 2.12.00 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to