You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by ml <ml...@poming.com> on 2004/06/08 11:54:17 UTC

not enough score marked as spam???

hi all,

    The below message is that amavisd sent to admin, said:  "(11.6 points, 98.0 required)"
why it notice me that is a spam even the points didn't meet the requirement ?

thx a lot

Ming



----- Original Message ----- 
From: <sp...@haha.com>
To: <ha...@haha.com>
Sent: Tuesday, June 08, 2004 6:58 AM
Subject: SPAM FROM <ha...@haha.com>


Unsolicited bulk email from:
   haha@haha.com
Subject:

According to the 'Received:' trace, the message originated at:
   haha-pc.mshome.net  (HELO hahapc) (192.168.0.1)

The message WILL BE delivered to:
<ha...@haha.com>

The message has been quarantined as:

/var/amavis/quarantine/spam-971d24e6af3ea79b4c6a53ddee5614a4-20040607-225852
-01484-01.gz

SpamAssassin report:
Spam detection software, running on the system "p4.haha.com", has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or block
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  ------=_NextPart_001_0597_01C44CE8.B61E28D0
  ------=_NextPart_001_0597_01C44CE8.B61E28D0 3 @ I6 o"`±uq
  ------=_NextPart_001_0597_01C44CE8.B61E28D0-- Return-Path:
  Delivered-To: email@haha.com Received: (qmail 73352 invoked from
  network); 7 Jun 2004 00:23:56 -0000 Received: from
  pdf6ac5.nigtnt01.ap.so-net.ne.jp (202.223.106.197) Return-Path:
  Received: from smtp9.nix.paypal.com (smtp3.nix.paypal.com
  [202.223.106.197]) Received: from notify1.nix.paypal.com
  (notify3.nix.paypal.com [71.160.188.31]) Received: (qmail 18810 invoked
  by uid 559); Mon, 07 Jun 2004 07:05:09 +0600 Message-Id:
  <10...@paypal.com> X-country: US X-language: en_US
  MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510
  From: "Compare mortgage options" To: Email Subject: No cost service to
  home owners X-Spam-Checker-Version: SpamAssassin 2.60-spambr_20030926a
  on X-Spam-Level: X-Spam-Status: No, hits=-5.9 required=5.0
  tests=AWL,NO_REAL_NAME autolearn=no X-UIDL: fB@"!)+h"!#+""!Y$m!!
  ------=_NextPart_000_00JE_00B0334VF_06D.490I61Y0
  ------=_NextPart_000_00HD_05N7395NB_00E.902N05E0 Your mailer do not
  support HTML messages. Switch to a better mailer. -----BEGIN PGP
  SIGNATURE----- Version: GnuPG v1.2.3 (MingW32)
  ^?@"U"‥~?·COPa"??i!Rc<
  ,NY.u?3.Syz&ab﹐"~Y¥|μnAAh°O-----END PGP SIGNATURE-----
  ------=_NextPart_000_00HD_05N7395NB_00E.902N05E0 [...]

Content analysis details:   (11.6 points, 98.0 required)

 pts rule name              description
---- ---------------------- ------------------------------------------------
--
 2.8 STRONG_BUY             BODY: Tells you about a strong buy
 0.7 ALL_NATURAL            BODY: Spam is 100% natural?!
 0.7 NO_COST                BODY: No such thing as a free lunch (3)
 0.1 LOW_PRICE              BODY: Lowest Price
 0.1 HTML_FONTCOLOR_UNSAFE  BODY: HTML font color not in safe 6x6x6 palette
 0.7 HTML_20_30             BODY: Message is 20% to 30% HTML
 0.5 HTML_SHOUTING7         BODY: HTML has very strong "shouting" markup
 1.1 HTML_LINK_PUSH_HERE    BODY: HTML link text says "push here" or similar
 0.1 HTML_FONTCOLOR_RED     BODY: HTML font color is red
 0.1 HTML_FONTCOLOR_UNKNOWN BODY: HTML font color is unknown to us
 0.3 HTML_FONT_BIG          BODY: HTML has a big font
 0.4 HTML_TAG_BALANCE_BODY  BODY: HTML has unbalanced "body" tags
 0.1 HTML_FONTCOLOR_BLUE    BODY: HTML font color is blue
 0.7 HTML_TAG_BALANCE_HTML  BODY: HTML has unbalanced "html" tags
 0.2 HTML_MESSAGE           BODY: HTML included in message
 0.1 HTML_FONTCOLOR_GREEN   BODY: HTML font color is green
 0.7 BIZ_TLD                URI: Contains a URL in the BIZ top-level domain
 0.5 MAILTO_TO_SPAM_ADDR    URI: Includes a link to a likely spammer email
 0.8 DATE_IN_PAST_06_12     Date: is 6 to 12 hours before Received: date
 1.1 FORGED_OUTLOOK_TAGS    Outlook can't send HTML in this format

------------------------- BEGIN HEADERS -----------------------------
Return-Path: <ha...@haha.com>
Received: (qmail 4170 invoked from network); 7 Jun 2004 22:58:47 -0000
Received: from haha-pc.mshome.net (HELO hahapc) (192.168.0.1)
  by 192.168.0.172 with SMTP; 7 Jun 2004 22:58:47 -0000
Message-ID: <05...@hahapc>
From: "haha" <ha...@haha.com>
To: <ha...@haha.com>
Subject:
Date: Mon, 7 Jun 2004 23:39:44 +0800
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_NextPart_000_0596_01C44CE8.B61E28D0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
-------------------------- END HEADERS ------------------------------

Re: not enough score marked as spam???

Posted by Matt Kettler <mk...@evi-inc.com>.
At 01:15 PM 6/8/2004, ml wrote:
>Opps , I found that!! It is in amavisd.conf, is it that I need to edit?
>
>$sa_tag_level_deflt  = 3.0; # add spam info headers if at, or above that
>level
>$sa_tag2_level_deflt = 6.3; # add 'spam detected' headers at that level
>$sa_kill_level_deflt = $sa_tag2_level_deflt; # triggers spam evasive actions

Yep. THAT is what you need to edit.. changing required_hits doesn't change 
if the message will be tagged or not under amavis.


Re: not enough score marked as spam???

Posted by ml <ml...@poming.com>.
Opps , I found that!! It is in amavisd.conf, is it that I need to edit?

$sa_tag_level_deflt  = 3.0; # add spam info headers if at, or above that
level
$sa_tag2_level_deflt = 6.3; # add 'spam detected' headers at that level
$sa_kill_level_deflt = $sa_tag2_level_deflt; # triggers spam evasive actions




----- Original Message ----- 
From: "ml" <ml...@poming.com>
To: <sp...@incubator.apache.org>; "Matt Kettler"
<mk...@comcast.net>
Sent: Wednesday, June 09, 2004 1:09 AM
Subject: Re: not enough score marked as spam???


> thx a lot , I have edited the required_hits (it is 98) in local.cf
already,
> however it still
> marked my mails are spam.
>


Re: not enough score marked as spam???

Posted by ml <ml...@poming.com>.
Yeah , thx a lot , I change the score from 3.0 to 15, the  problems is
fixed, thx a lot.



----- Original Message ----- 
From: "Patrick Morris" <tr...@adonis.net>
To: "ml" <ml...@poming.com>
Cc: <sp...@incubator.apache.org>
Sent: Wednesday, June 09, 2004 1:09 AM
Subject: Re: not enough score marked as spam???


> ml wrote:
>
> >thx a lot , I have edited the required_hits (it is 98) in local.cf
already,
> >however it still
> >marked my mails are spam.
> >
> >
>
> It looks like you've removed the section of amavisd.conf that sets the
> score it considers spam, so it's probably falling back to default values
> (whatever those may be).  That section looks something like this in the
> default configuration:
>
> # default values, can be overridden by more specific lookups, e.g. SQL
> $sa_tag_level_deflt  = 3.0; # add spam info headers if at, or above that
> level
> $sa_tag2_level_deflt = 6.3; # add 'spam detected' headers at that level
> $sa_kill_level_deflt = $sa_tag2_level_deflt; # triggers spam evasive
actions
>                             # at or above that level: bounce/reject/drop,
>                             # quarantine, and adding mail address
extension
>
> $sa_dsn_cutoff_level = 10;  # spam level beyond which a DSN is not sent,
>                             # effectively turning D_BOUNCE into D_DISCARD;
>                             # undef disables this feature and is a defaul
>
>


Re: not enough score marked as spam???

Posted by Patrick Morris <tr...@adonis.net>.
ml wrote:

>thx a lot , I have edited the required_hits (it is 98) in local.cf already,
>however it still
>marked my mails are spam.
>  
>

It looks like you've removed the section of amavisd.conf that sets the 
score it considers spam, so it's probably falling back to default values 
(whatever those may be).  That section looks something like this in the 
default configuration:

# default values, can be overridden by more specific lookups, e.g. SQL
$sa_tag_level_deflt  = 3.0; # add spam info headers if at, or above that 
level
$sa_tag2_level_deflt = 6.3; # add 'spam detected' headers at that level
$sa_kill_level_deflt = $sa_tag2_level_deflt; # triggers spam evasive actions
                            # at or above that level: bounce/reject/drop,
                            # quarantine, and adding mail address extension

$sa_dsn_cutoff_level = 10;  # spam level beyond which a DSN is not sent,
                            # effectively turning D_BOUNCE into D_DISCARD;
                            # undef disables this feature and is a defaul


Re: not enough score marked as spam???

Posted by ml <ml...@poming.com>.
thx a lot , I have edited the required_hits (it is 98) in local.cf already,
however it still
marked my mails are spam.

I post partial local.cf here. thx a lot for all~~~

(I can't find the amavis score in amavisd.conf)

=================================================================
###      this is local.cf    ###
required_hits           98
rewrite_subject         1
#use_bayes              1
#bayes_path             /etc/mail/.spamassassin/bayes
#auto_learn             1
skip_rbl_checks         0
#use_razor2             1
#use_dcc                        1
#use_pyzor              1
always_add_headers      0
#dcc_add_header         0
report_safe             0
use_terse_report        0
spam_level_stars        1
dns_available           yes


=================================================================
###   this is amavisd.conf  (part of) ###

use strict;

$mydomain = 'haha.com';      # (no useful default)

$daemon_user  = 'clamav';       # (no default;  customary: vscan or amavis)
$daemon_group = 'clamav';       # (no default;  customary: vscan or amavis)

$TEMPBASE = "$MYHOME/tmp";     # prefer to keep home dir /var/amavis clean?

$ENV{TMPDIR} = $TEMPBASE;       # wise to set TMPDIR, but not obligatory
$forward_method = 'smtp:127.0.0.1:10025';  # where to forward checked mail
$notify_method = $forward_method;          # where to submit notifications

$max_servers  =  2;   # number of pre-forked children          (default 2)
$max_requests = 10;   # retire a child after that many accepts (default 10)

$child_timeout=5*60;  # abort child if it does not complete each task in n
sec

$unix_socketname = "$MYHOME/amavisd.sock"; # amavis helper protocol socket

$inet_socket_port = 10024;        # accept SMTP on this local TCP port
@inet_acl = qw( 127.0.0.1 );      # allow SMTP access only from localhost IP

$DO_SYSLOG = 0;                   # (defaults to false)
$LOGFILE = "$MYHOME/amavis.log";  # (defaults to empty, no log)

$log_level = 2;           # (defaults to 0)

$log_templ = '[? %#V |[? %#F |[?%#D|Not-Delivered|Passed]|BANNED name/type
(%F)]|INFECTED (%V)], #
<%o> -> [<%R>|,][? %i ||, quarantine %i], Message-ID: %m, Hits: %c';


$final_virus_destiny      = D_BOUNCE;  # (defaults to D_BOUNCE)
$final_banned_destiny     = D_BOUNCE;  # (defaults to D_BOUNCE)
$final_spam_destiny       = D_BOUNCE;  # (defaults to D_REJECT)
$final_bad_header_destiny = D_PASS;  # (defaults to D_PASS), D_BOUNCE
suggested

$viruses_that_fake_sender_re = new_RE(
  qr'nimda|hybris|klez|bugbear|yaha|braid|sobig|fizzer|palyh|peido|holar'i,
  qr'tanatos|lentin|bridex|mimail|trojan\.dropper|dumaru|parite|spaces'i,
  qr'dloader|galil|gibe|swen|netwatch|bics|sbrowse|sober|rox|val(hal)?la'i,

qr'frethem|sircam|be?agle|tanx|mydoom|novarg|shimg|netsky|somefool|moodown'i
,
  qr'@mm|@MM',    # mass mailing viruses as labeled by f-prot and uvscan
  qr'Worm'i,      # worms as labeled by ClamAV, Kaspersky, etc
  [qr'^(EICAR|Joke\.|Junk\.)'i         => 0],
  [qr'^(WM97|OF97|W95/CIH-|JS/Fort)'i  => 0],
  [qr/.*/ => 1],  # true by default  (remove or comment-out if undesired)
);


$spam_admin = "haha\@$mydomain";
$mailfrom_notify_admin     = "notify_admin\@$mydomain";
$mailfrom_notify_recip     = "notify_recip\@$mydomain";
$mailfrom_notify_spamadmin = "notify_spamadmin\@$mydomain";

$mailfrom_to_quarantine = '';   # override sender address with null return
path


$QUARANTINEDIR = "$MYHOME/quarantine";

$virus_quarantine_to = new_RE(                # per-recip multiple
quarantines
$spam_quarantine_to = 'spam-quarantine';
$X_HEADER_TAG = 'X-Virus-Scanned';      # (default: undef)
$X_HEADER_LINE = "by amavisd-new at $mydomain";

$undecipherable_subject_tag = 'HKNCS: ***This mail has not been scanned***
';  # undef disables it

$remove_existing_x_scanned_headers = 0; # leave existing X-Virus-Scanned
alone
$remove_existing_spam_headers  = 1;     # remove existing spam headers if

$keep_decoded_original_re = new_RE(
  qr'^MAIL-UNDECIPHERABLE$',  # retain full mail if it contains
undecipherables
  qr'^(ASCII(?! cpio)|text|uuencoded|xxencoded|binhex)'i,
);





=================================================================

----- Original Message ----- 
From: "Matt Kettler" <mk...@comcast.net>
To: "ml" <ml...@poming.com>; <sp...@incubator.apache.org>
Sent: Tuesday, June 08, 2004 9:52 PM
Subject: Re: not enough score marked as spam???


> At 05:54 PM 6/8/04 +0800, ml wrote:
> >     The below message is that amavisd sent to admin, said:  "(11.6
> > points, 98.0 required)"
> >why it notice me that is a spam even the points didn't meet the
requirement ?
>
> You're using amavis.. amavis does not honor SA's required_hits and uses
> it's own thresholds.
>
> I suspect your problem is that you edited required_hits in your local.cf,
> but did not reconfigure amavis.
>
> If that's not the problem, care to show us what your amavis and SA score
> options look like?
>
>


Re: not enough score marked as spam???

Posted by Matt Kettler <mk...@comcast.net>.
At 05:54 PM 6/8/04 +0800, ml wrote:
>     The below message is that amavisd sent to admin, said:  "(11.6 
> points, 98.0 required)"
>why it notice me that is a spam even the points didn't meet the requirement ?

You're using amavis.. amavis does not honor SA's required_hits and uses 
it's own thresholds.

I suspect your problem is that you edited required_hits in your local.cf, 
but did not reconfigure amavis.

If that's not the problem, care to show us what your amavis and SA score 
options look like?