Mailwasher and Regular Expressions?

  • Thread starter Thread starter Gaikokujin Kyofusho
  • Start date Start date
G

Gaikokujin Kyofusho

Hi, I have been using mail washer and am quite impressed but i have
tried making use of simple regular expressions in the filter and i
seem to be doing something wrong.

When i try something like

the subject field - contained RegExpr - vi*ra

to catch spam like "via-gra" it doesn't catch it, am i doing this
correctly? I have also tried things like via?gra and again, no luck, i
can only get it to catch exact words.

Any help or a point in the right direction (i looked over the
firetrust page: http://www.firetrust.com/support/pr...rs&PHPSESSID=9be6b973a4ed67be9082bec1518c84ae
already) would be greatly appreciated!

Cheers

-Gaiko
 
In Gaikokujin Kyofusho posted:
Hi, I have been using mail washer and am quite impressed but i have
tried making use of simple regular expressions in the filter and i
seem to be doing something wrong.

When i try something like

the subject field - contained RegExpr - vi*ra

to catch spam like "via-gra" it doesn't catch it, am i doing this
correctly? I have also tried things like via?gra and again, no luck, i
can only get it to catch exact words.

Any help or a point in the right direction (i looked over the
firetrust page:
http://www.firetrust.com/support/pr...rs&PHPSESSID=9be6b973a4ed67be9082bec1518c84ae
already) would be greatly appreciated!

I believe a Wildcard Expression only applies to friends/black lists
(email addresses), not filters.
See Mailwasher - Tools/SpamTools/Help/Index/Wildcard/display.

DanlK, FYI Services
www.FYIS.org
Visit our Commemorative Collectible www.FYIS.org/estore!
____________________________________________
Don't forget to put this html code on your web page:
<SCRIPT language=JavaScript
src="http://www.georgewbush.com/WStuff/BPForm.aspx">
</SCRIPT>
 
Hi, I have been using mail washer and am quite impressed but i have
tried making use of simple regular expressions in the filter and i
seem to be doing something wrong.

When i try something like

the subject field - contained RegExpr - vi*ra

to catch spam like "via-gra" it doesn't catch it, am i doing this
correctly? I have also tried things like via?gra and again, no luck, i
can only get it to catch exact words.

Any help or a point in the right direction (i looked over the
firetrust page: http://www.firetrust.com/support/pr...rs&PHPSESSID=9be6b973a4ed67be9082bec1518c84ae
already) would be greatly appreciated!

Cheers

-Gaiko
From poptray foorum: This is regexpr that deletes Viaga
(\\/|v)_*\W*_*[iíïìî1l\|]+_*\W*_*[aáäàâ4@]+_*\W*_*[gr6]+_*\W*_*[GR6]+_*\W*_*[aáäàâ4@]+_*(\W.*)?$

Jari
 
*FU2 set ( I don't read all the x-posted groups)


In Message-ID:<[email protected]> posted on
Any help or a point in the right direction would be greatly appreciated!

Quickest way is to let MW do it for you.
Under [filters - add], put whatever you want (including wildcards) as a
part of subject or body or both etc.
I have a simple filter set that whacks all malware and high ninety
percentile of all other spam. (can send or post)
 
Gaikokujin Kyofusho ([email protected]) schrieb/wrote:
Hi, I have been using mail washer and am quite impressed but i have
tried making use of simple regular expressions in the filter and i
seem to be doing something wrong.

When i try something like

the subject field - contained RegExpr - vi*ra

to catch spam like "via-gra" it doesn't catch it, am i doing this
correctly? I have also tried things like via?gra and again, no luck, i
can only get it to catch exact words.

"i*" matches ZERO or more occurrences of "i*, so vi*ra matches
vra, vira, viira, viiira, etc.

See http://www.regexp.org/ and http://zez.org/article/articleview/11/
 
In Andreas Kaestner posted:
Gaikokujin Kyofusho ([email protected]) schrieb/wrote:

"i*" matches ZERO or more occurrences of "i*, so vi*ra matches
vra, vira, viira, viiira, etc.

No, according to MW help: " * matches 0 or more unknown characters" in
email addresses, but not filters.

DanlK, FYI Services
www.FYIS.org
Visit our Commemorative Collectible www.FYIS.org/estore!
____________________________________________
Don't forget to put this html code on your web page:
<SCRIPT language=JavaScript
src="http://www.georgewbush.com/WStuff/BPForm.aspx">
</SCRIPT>
 
FYIS.org/estore (FYIS.org/[email protected]) schrieb/wrote:

[MailWasher]
No, according to MW help: " * matches 0 or more unknown characters" in
email addresses, but not filters.

http://www.mailwasher.net/faq.php#_Q._How_RegExpr
+---+---------------------------+-----------------------------------+
| * | Represents 0 or more of | ba*t matches bt, bat, baat, etc. |
| | the previous character | |
+---+---------------------------+-----------------------------------+
 
Hi, Bill
<From Fairbanks, where it's blustery but still daylight!>
~Kimberlee


: Lot's of help here:
:
: http://www.computercops.biz/forum50.html&sid=e0d9e011c0801d02f7a9c0a09f0
: 30637
: --
: <Bill>
:
: Brought to you from beautiful Unalaska/Dutch Harbor, Alaska.
: N 53° 51.140' W 166° 30.228' (WGS 84)
:
: Gaikokujin Kyofusho wrote:
: > Hi, I have been using mail washer and am quite impressed but i have
: > tried making use of simple regular expressions in the filter and i
: > seem to be doing something wrong.
:
:
 
Back
Top