Hmm, let me see. I use the below in user_prefs. Hope that helps.
header J_CHSET3 Subject:raw =~
/\s=\?(windows-(125[0125]|874)|koi8-r|iso-8859-[28])\?/i
score J_CHSET3 5
ifplugin Mail::SpamAssassin::Plugin::TextCat
#ok_languages en zh.big5
-Original Message-
For the most part you can match any character by the appearance of the
character. Any character with special meaning needs to be escaped in
some
way. The easiest way is usually with a backslash, but in some cases
you
can
also do it by making it a member of a
On Fri, 2008-02-15 at 17:10 +1300, Michael Hutchinson wrote:
From: Karsten Bräckelmann [mailto:[EMAIL PROTECTED]
Why are you guys now trying to re-invent the wheel in the special case
of a gray asphalt street? What about a dirt track, grass, and anything
else a wheel works on?
I've
I believe that what you are asking for is
meta RUSSIAN_AND_BADTEXT (CHARSET_FARAWAY __OTHER_RULE)
That requires first that you have set up ok_locales.
--Paul
Rosenbaum, Larry M. wrote:
From: Karsten Bräckelmann [mailto:[EMAIL PROTECTED]
I've pointed it out before. Just use ok_locales, which
KB If you want to trigger on Russian only, list all but ru.
What if to catch Ms. Ba'loney Margar'ine, airport security had to keep a
current list of all the other people in the world. So this is the
wrong approach, as we've been thru before. OK, bye.
On Fri, 2008-02-15 at 11:04 -0800, Paul Douglas Franklin wrote:
I believe that what you are asking for is
meta RUSSIAN_AND_BADTEXT (CHARSET_FARAWAY __OTHER_RULE)
That requires first that you have set up ok_locales.
If you have TextCat enabled, then the X-Language: meta header will be
added
From: Karsten Bräckelmann [mailto:[EMAIL PROTECTED]
I've pointed it out before. Just use ok_locales, which is all about
these char sets. No REs, almost no thinking required, no headache. A
single line, and you're done.
What's the best way to test the character set for use in a meta rule? We
On Fri, 2008-02-15 at 11:49 -0500, Rosenbaum, Larry M. wrote:
From: Karsten Bräckelmann [mailto:[EMAIL PROTECTED]
I've pointed it out before. Just use ok_locales, which is all about
these char sets. No REs, almost no thinking required, no headache. A
single line, and you're done.
On Sat, 2008-02-16 at 04:26 +0800, [EMAIL PROTECTED] wrote:
KB If you want to trigger on Russian only, list all but ru.
What if to catch Ms. Ba'loney Margar'ine, airport security had to keep a
current list of all the other people in the world. So this is the
wrong approach, as we've been thru
[EMAIL PROTECTED] wrote:
We're suddenly getting a ton of spam with koi8-r encoding...I tried to
do a custom rule for it like this:
header SUBJ_RUSS_CHAR Subject =~/koi8-r/i
describe SUBJ_RUSS_CHAR has Russian char encoding
score SUBJ_RUSS_CHAR3.5
The
On Thu, 2008-02-14 at 10:17 -0500, [EMAIL PROTECTED] wrote:
We're suddenly getting a ton of spam with koi8-r encoding...I tried to do
a custom rule for it like this:
header SUBJ_RUSS_CHAR Subject =~/koi8-r/i
describe SUBJ_RUSS_CHAR has Russian char encoding
score
On Thu, 14 Feb 2008, Per Jessen wrote:
[EMAIL PROTECTED] wrote:
We're suddenly getting a ton of spam with koi8-r encoding...I tried to
do a custom rule for it like this:
header SUBJ_RUSS_CHAR Subject =~/koi8-r/i
describe SUBJ_RUSS_CHAR has Russian char encoding
-Original Message-
We're suddenly getting a ton of spam with koi8-r encoding...I
tried to
do a custom rule for it like this:
header SUBJ_RUSS_CHAR Subject =~/koi8-r/i
describe SUBJ_RUSS_CHAR has Russian char encoding
score SUBJ_RUSS_CHAR3.5
On Fri, 15 Feb 2008, Michael Hutchinson wrote:
Are we not meant to delimit characters like a minus sign?
Ex:
header SUBJ_RUSS_CHAR Subject:raw =~ /koi8\-r/i
Only where they have special meaning, and a dash is only special in a
character set, e.g. [A-Z]. I have found the
-Original Message-
From: John Hardin [mailto:[EMAIL PROTECTED]
Sent: Friday, 15 February 2008 2:19 p.m.
To: Michael Hutchinson
Cc: users@spamassassin.apache.org
Subject: RE: Rule for Russian character sets
On Fri, 15 Feb 2008, Michael Hutchinson wrote:
Are we not meant
-Original Message-
From: John Hardin [mailto:[EMAIL PROTECTED]
Sent: Friday, 15 February 2008 3:07 p.m.
To: Michael Hutchinson
Subject: RE: Rule for Russian character sets
On Fri, 15 Feb 2008, Michael Hutchinson wrote:
Now what about matching a question mark and an equals sign
On Fri, 2008-02-15 at 12:19 +1300, Michael Hutchinson wrote:
[...]
Does anyone have suggestions for matching question marks and equals
signs in one line? I would like to match everything exactly between the
double quotes:
Apart from neither equal nor minus being any special in an RE (outside a
-Original Message-
From: Karsten Bräckelmann [mailto:[EMAIL PROTECTED]
Sent: Friday, 15 February 2008 3:43 p.m.
To: users@spamassassin.apache.org
Subject: RE: Rule for Russian character sets
On Fri, 2008-02-15 at 12:19 +1300, Michael Hutchinson wrote:
[...]
Does anyone have
Ok fair enough. I've noticed that having the \ doesn't hurt for a dash.
Now what about matching a question mark and an equals sign?
If you read perlre closely you will find it says that it never hurts to put
a backslash before a special character that you want to match as a
character. So
19 matches
Mail list logo