Bug 250 - 8 bit mail body not detected
Summary: 8 bit mail body not detected
Status: RESOLVED DUPLICATE of bug 293
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Rules (show other bugs)
Version: 2.20
Hardware: PC NetBSD
: P2 normal
Target Milestone: ---
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-23 18:05 UTC by Klaus Heinz
Modified: 2002-06-09 16:49 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Heinz 2002-04-23 18:05:48 UTC
Hi,

I got a spam mail (recognized as such by SA 2.20) but the matching tests
lack one which recognizes the body of the mail contains almost only
characters > 128.

CHARSET_FARAWAY_HEADERS and SUBJ_FULL_OF_8BITS are triggered by this mail
but shouldn't there be a matching test for the body of this mail?

Maybe SA was confused by the 'text/plain' Content-Type. This _should_
be the value the mail had when I received it, because I use 'defang_mime 0'.

From former looks at SA code I think some test which uses
 are_more_high_bits_set() should have triggered.

---------8<-------- cut here -----------------------
From someone  Sun Apr 21 13:33:42 2002
Return-Path: <marketing@nugoo.com>
Received: from vh1 ([202.106.127.208]) by YYY.YYY.YYY.de
          (Netscape Messaging Server 4.15) with ESMTP id GUW0ED00.8VL for
          <YYY@YYY.YYY.de>; Sun, 21 Apr 2002 00:13:25 +0200
From: marketing@nugoo.com
Subject: =?GB2312?B?xaO5yc34s8/V0Lj3tdjStc7xwarC57Sm?=
To: YYY@YYY.YYY.de
Content-Type: text/plain;
Sender: marketing@nugoo.com
Date: Sun, 21 Apr 2002 06:11:46 +0800
X-Priority: 3
X-Library: Caretop Library
X-Mailer: Caretop 2604
Message-ID: <GUW0ED00.8VL@YYY.YYY.YYY.de>

Å£¹ÉÍø³ÏÕи÷µØÒµÎñÁªÂç´¦

Å£¹ÉÍøÂç¿Ø¹ÉÓÐÏÞ¹«Ë¾----Nugoo (Beijing) CorporationÊÇÓÉÃÀ¹úÈ󲩼¯ÍŹ«Ë¾ÁªºÏÃÀ¹úµÄ´´Í¶»ù½ðºÍ·çÏÕͶ×ʹ«Ë¾¹²Í¬Í¶×Ê×齨£¬×¨ÃÅ´ÓÊÂÔÚÒòÌØÍøÉϼ°Ê±Ìṩ½ðÈÚÐÅÏ¢ºÍÍøÉÏ¹ÉÆ±½»Ò×ϵͳµÄÐÂÐ˸߿Ƽ¼ÍøÂ繫˾¡£Å£¹ÉÍø¹«Ë¾ÔÚÖÂÁ¦ÓÚÍøÉÏ¹ÉÆ±½»Ò×µÄͬʱ£¬ÍƳöÁË×î¾ß¾ºÕùÁ¦ºÍÊг¡Ç°¾°µÄͶ×ʾãÀÖ²¿¼°ÏµÍ³¼¯³É£¨ÍøÕ¾½¨É裩ÏîÄ¿·þÎñ¡£
Å£¹ÉÍø¹«Ë¾ÍƳöµÄͶ×ʾãÀÖ²¿»áÔ±¿¨£¬½èÖú¿ì½Ý·½±ãµÄ»¥ÁªÍøÂçÆ½Ì¨£¬Îª¹ã´ó֤ȯͶ×ÊÕßÌṩʵʱµÄͶ×Ê×ÊѶÓëרҵ»¯µÄ¹ËÎÊ×Éѯ·þÎñ¡£¸Ã»áÔ±¿¨ÃæÏò¹ã´óÖÐС¹ÉƱͶ×ÊÕߣ¬¼ÛλµÍ£¬·þÎñ¹ã·º¡£
Å£¹ÉÍø¹«Ë¾ÍƳöµÄϵͳ¼¯³É£¨ÍøÕ¾½¨É裩·þÎñ¾ßÓУºÐÔÄܺã¨Ëٶȿ죬²»ÏÞÁ÷Á¿£¬Ö§³ÖASP¡¢CGI¡¢PHP£©¡¢¼Û¸ñÓÅ£¨Í¬µÈ·þÎñ±ÈÆäËû¹«Ë¾¼Û¸ñµÍ30%£©µÄÌØµã¡£
ΪÀ©´óÅ£¹ÉÍø²úÆ·µÄÓ°ÏìÁ¦£¬Ò²ÎªÁ˸ø¸÷µØºÏ×÷»ï°éÌṩһ¸ö¹²Í¬³É¹¦µÄ»ú»á£¬ÏÖÅ£¹ÉÍø¹«Ë¾ÔÚÈ«¹ú¸÷µØ³ÏÕÐÒµÎñÁªÂç´¦¡£

Ò»¡¢    ÒµÎñÁªÂç´¦ÒªÇó£º
1ÔÚµ±µØÓÐÒ»¶¨Ó°ÏìÁ¦»ò¾­ÓªÒµ¼¨µÄÉÌÒµ¹«Ë¾»òÓзḻµÄÉç»á¹ØÏµÍøÂ磬Ïà¹Ø¾­Ñ飬¿Ú²Å³öÖÚ£¬¹µÍ¨ÄÜÁ¦µÄ¸öÈË¡£
2¡¢Óй̶¨³¡Ëù£¬Ïà¹ØÁªÂçÉ豸»ò¾«Í¨¼ÆËã»úÕßÓÅÏȼÓá£
¶þ¡¢ÒµÎñÁªÂç´¦¹¤×÷ÄÚÈÝ£º
1¡¢     ÔÚµ±µØÐû´«Íƹ㼰´úÀíÏúÊÛÅ£¹ÉͶ×ʾãÀÖ²¿»áÔ±¿¨¡£
2¡¢     ÍÆ¼öÅ£¹ÉÍøÏµÍ³¼¯³É¼°ÍøÕ¾½¨Éè·þÎñ£»½«Ç±ÔÚ¿Í»§Ãûµ¥·¢Ë͸øÅ£¹ÉÍø¹«Ë¾¡£
Èý¡¢ÒµÎñÁªÂç´¦´ýÓö£º
1¡¢Ãâ·ÑÔÚÅ£¹ÉÍøÎª¸÷µØÒµÎñÁªÂç´¦ÖÆ×÷ÐÅÏ¢ÉÌÎñÐÔÍøÒ³¡£
2¡¢°ä·¢¸ºÔðÈË£¨»òÁªÏµ´¦´ú±í£©ÕýʽÊÚȨÊé¼°Ïà¹Ø²úÆ·Ðû´«Íƹã×ÊÁÏ¡£
3¡¢     °´Ëù´úÀí²úÆ·µÄÏúÊÛ¶î»ñµÃÊÕÈ룻ţ¹ÉͶ×ʾãÀÖ²¿»áÔ±¿¨Îª20%£»ÏµÍ³¼¯³É¼°ÍøÕ¾½¨Éè·þÎñÏîĿΪ6%¡£
4¡¢     ·²ÒµÎñÁªÂç´¦¹¤×÷Òµ¼¨Á¼ºÃ²¢~\º°ëÄêÕߣ¬½«Ãâ·Ñ»ñµÃÈ«ÄêµÄÅ£¹ÉͶ×ʾãÀÖ²¿»áÔ±¿¨1ÕÅ£¨¼ÛÖµÈËÃñ±Ò800ÔªÕû£©¡£
5¡¢     ¹¤×÷Òµ¼¨ÓÅÐãµÄÁªÂç´¦´ú±í£¬½«Ãâ·Ñ»ñµÃ¸°±±¾©Å£¹ÉÍø¹«Ë¾×ܲ¿Åàѵ»ú»á¡£
ËÄ¡¢    ÒµÎñÁªÂç´¦³ÏÕгÌÐò
1¡¢ÉÌÒµ¹«Ë¾ÌṩӪҵִÕÕ¸´Ó¡¼þ£¬¼°²»ÉÙÓÚ200×ֵįóÒµ¼ò½é£¬ÊÚȨ´ú±íÉí·ÝÖ¤¸´Ó¡¼þ¡¢¸öÈ˼òÀú¸÷Ò»·Ý¡¢Ã÷È·µÄÁªÏµ·½Ê½¡£
2¡¢¸öÈËӦƸÕßÇë¼ÄÀ´Ñ§Àú¡¢Éí·ÝÖ¤¸´Ó¡¼þ¡¢¸öÈ˼òÀú²ú¡¢Ã÷È·µÄÁªÏµ·½Ê½¡£
3¡¢Õýʽ¼ÓÃͨ¹ýºó½«×¨º¯Í¨Öª¡£

ÁªÏµ·½Ê½£º
Å£¹ÉÍøÂçÐÅÏ¢¼¼Êõ£¨±±¾©£©ÓÐÏÞ¹«Ë¾
µØÖ·£º±±¾©³¯ÑôÇøºô¼ÒÂ¥¾©¹ãÖÐÐÄ2608ÊÒ
µç»°: 010-65978201/8202/8324/8329     ´«Õ棺010-65978285
µç×ÓÓʼþ£ºservice@nugoo.com
ÁªÏµÈË£ºÅíÏÈÉúzpeng@nugoo.com      ÍòС½ã  kwan@nugoo.com

---------8<-------- cut here -----------------------
Comment 1 Craig Hughes 2002-06-10 00:49:01 UTC
The new TextCat language testing stuff should take care of this.

*** This bug has been marked as a duplicate of 293 ***