You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Gian <gi...@gmail.com> on 2004/10/07 02:26:19 UTC

custom rule

hill all,

i'm using spamassassin 2.64, i want to reject body message like this :

--
ÅóÓÑ£¡ÄãÓÐûÓÐÔÚÍøÉÏÏë¿´µçÓ°ÓÖÕÒ²»µ½ÕæÕýÃâ·ÑµÄÍøÕ¾µÄ¾­Àú£¿ºÃÈÝÒ×ÕÒµ½Ò»¸öºÅ³ÆÃâ·ÑµÄ¿Éµ½Í·À´
²»ÊÇÈÃÄãÌîÊÖ»úºÅÂë¾ÍÊÇÈÃÄãÓʾּÄÇ®»òÍøÉÏÖ§¸¶£¬ÏÖÔÚºÃÀ²£¡ÓÐÁËÎÒÌṩµÄÈí¼þ£¬
--

is there custom rule for doing that?

thx...

-gian-

Re: custom rule

Posted by "Roger E. Rustad, Jr." <sc...@iname.com>.
Ever since signing up with AllofMP3.com (a Russian MP3
site), I've been getting tons of e-mail like that.

--- Gian <gi...@gmail.com> wrote:

> hill all,
> 
> i'm using spamassassin 2.64, i want to reject body
> message like this :
> 
> --
>
���ѣ�����û���������뿴��Ӱ���Ҳ���������ѵ���վ�ľ������������ҵ�һ���ų���ѵĿɵ�ͷ��
>
�����������ֻ�������������ʾּ�Ǯ������֧�������ں������������ṩ��������
> --
> 
> is there custom rule for doing that?
> 
> thx...
> 
> -gian-
> 


Re: custom rule

Posted by Matt Kettler <mk...@comcast.net>.
At 07:26 AM 10/7/2004 +0700, Gian wrote:
>hill all, i'm using spamassassin 2.64, i want to reject body message like 
>this : -- 
>ÅóÓÑ£¡ÄãÓÐûÓÐÔÚÍøÉÏÏë¿´µçÓ°ÓÖÕÓ²»µ½ÕæÕýÃâ·ÑµÄÍøÕ¾µÄ¾­Àú£¿ºÃÈÝÓ×ÕÓµ½Ó»¸öºÅ³ÆÃâ·ÑµÄ¿Éµ½Í·À´ 
>²»ÊÇÈÃÄãÌîÊÖ»úºÅÂë¾ÍÊÇÈÃÄãÓʾּÄÇ®»òÍøÉÏÖ§¸¶£¬ÏÖÔÚºÃÀ²£¡ÓÐÁËÎÓÌṩµÄÈí¼þ£¬ 
>-- is there custom rule for doing that? thx... -gian-

You could try this, however it might FP on messages with binary 
attachments. Test first:

body    HIGH_ASCII_GARBAGE      /[\x80-\xff]{20}/
score   HIGH_ASCII_GARBAGE      0.1

However, I suspect you might be better off looking at the message headers, 
FWWIW.