ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > General Software Discussion

TheBat! Filter for Russion/Chinese Spam

(1/2) > >>

Jibz:
I've had a bit of a problem recently with Russian spam, and thought I would share a simple filter I made for TheBat! v3 that seems to work ok:

Condition:
Recipient contains: <my_e-mail_address>
AND Subject match (?:[\x80-\xff]{3}.*?){3}
AND Subject does not match \w{4}

Actions:
- Mark the message as read
- Move to the folder \\<my_e-mail_address>\$JUNK$

The first regexp looks for three groups of 3 characters in the high ascii range -- this covers Russian and Chinese symbols. The second regexp makes sure a subject with some regular word in it does not get filtered, by looking for 4 consecutive normal characters.

Hope it's useful to somebody :Thmbsup:.

mouser:
works great for me!! awesome.

JeffK:
Jibz, may i post your idea over at the email discussions forum.  www.emailaddresses.com/forum.  Some there may find it useful.

Regards,

Jeff

Jibz:
Sure, feel free to do that :).

I'm sure there are more clever ways to do it, but this one seems to work ok on my problem. It lets a few of them through, but I figured better safe than sorry :up:.

mouser:
jibz' filter wasnt working on some chinese for me, but i discovered something cool,
even though its not in the drop down list,
you can create a filter to look at the encoding language of the email, and thus catch email send in a specific character enocding.

create a filter, use header-field
and then type in the dropdown box: Content-Type

(you can see the content type of a message by doing view -> RFC-822 headers)

then choose contains, and specify the text in Content-Type you want to test for (see the headers to examine specific email content language types).
the email i was looking at said
Content-Type: text/plain;charset="GB2312"

that charset entry is specifying the encoding language
so i just used GB2312

and that gives me a filter that will catch all email sent to me in simplified chinese.

Navigation

[0] Message Index

[#] Next page

Go to full version