Hi Thomas,
On 30 July 2000 at 13:03:30 GMT +0800 (which was 06:03 where I
live) [EMAIL PROTECTED] wrote and made these points on the subject
of "Filter for no To field in kludge":
CS>> I am trying to setup filter for the SPAM I recieve to look for a
CS>> missing To line in the Kludges. Does anyone have any suggestions?
TF> IF .NOT. EXIST("TO") IN headers
TF> FILTER TO "spam folder"
TF> ENDIF
TF> I still haven't gotton deep enough into regex,
Hmmm ... that's not really how it works. You can only use such regex
to make the search string more sophisticated but it's not a language
in the sense you're illustrating here.
TF> but if you think about it, it shouldn't be too difficult. We have
TF> enough examples to find strings in headers, and I am sure that
TF> must be a .NOT. operator somewhere.
Yes - String -- To:, Location -- Kludges, Presence -- *No*. However,
that would fail because of.
Reply-To: xxxxxxxx
and any X-Headers that might end in To:, for instance a server may add
and X-Deliver-To header.
Will "\nTo:" or "$To:" (To: at the start of a line) work for this?
Anyone know? That would make the filter
String -- $To:, Location -- Kludges, Presence -- No. or
String -- \nTo:, Location -- Kludges, Presence -- No.
--
Cheers,
.\\arck
Marck D. Pearlstone, Consultant Software Engineer
Moderator TBUDL / TBBETA
www: http://www.silverstones.com
PGP key: <mailto:[EMAIL PROTECTED]?Body=GET%20MARCKKEY>
*-----------------------------------------------
| Using The Bat! 1.45 S/MIME S/N 14F4B4B2
| under Windows 98 4.10 Build 1998
*-----------------------------------------------
--
--------------------------------------------------------------
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
<mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
<mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------
You are subscribed as : [email protected]