Hello.

From: "Obantec Support" <[EMAIL PROTECTED]>
Subject: how to block ?1251 subject email's
Date: Sun, 1 Aug 2004 20:00:28 +0100

> Hi
> 
> I run SA2.6.3 with sendmail .
> 
> Seem to get quite a few Russian?? emails thru with 
> 
> Subject: =?Windows-1251?B?z/Du9OXx8eju7eDr/O3g/yDw5err4OzgIOTr/yDC4PEu?=
> 
> Subject is always ?Windows-1251?
> followed by the random string/encoded text.
> 
> How can i stop these?
> 
> Mark

In SA 2.63, header matching is always "decoded strings".
If you want to match undecoded header string, you have to use
"full" matching.
And, "full" matching can't use regular expression '^' (string start)
and '$' (string end).
So:

full WIN1251SUBJECT /[\r\n]Subject: =\?Windows-1251\?B\?/
score WIN1251SUBJECT 8.000
--
Nothing but a peace sign.
MATSUDA Yoh-ichi(yoh)
mailto:[EMAIL PROTECTED]
http://www.flcl.org/~yoh/index.htm

Reply via email to