Страница 1 из 1

Exim+Spamassassian

Добавлено: 2010-04-16 13:32:00
mr.freeman
привет, поставил связку Exim+Spamassassian
скармливаю ему спам письмо

Код: Выделить всё

spamassassin -D < /usr/share/spamassassin/doc/spamassassin-3.0.3/sample-spam.txt 
заголовок меняет
посылаю писмо

Код: Выделить всё

Return-path: <>
Envelope-to: 
Delivery-date: Fri, 16 Apr 2010 06:08:44 -0400
Received: from [212.154.251.154] (helo=[127.0.0.1])
        by mx.buyhtc.com with esmtpa (Exim 4.71)
        (envelope-from <>)
        id 1O2iTb-0006t0-F8
        for admin@buyhtc.com; Fri, 16 Apr 2010 06:08:44 -0400
Date: Fri, 16 Apr 2010 16:13:26 +0600
From: <>
X-Mailer: The Bat! (v3.95.1) Professional
Reply-To: 123 <
Organization: 123
X-Priority: 3 (Normal)
Message-ID: <1166944573.20100416161326@buyhtc.com>
To: admin@buyhtc.com
[b]Subject: Relax, be happy[/b]
In-Reply-To: <r2m34364911004160250mf202e545u4b61812de07c492b@mail.gmail.com>
References: <r2m34364911004160250mf202e545u4b61812de07c492b@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="----------104DD2513396BB57"
[b]X-Spam-Subject: ***SPAM*** Relax, be happy[/b]
X-Spam-Status: Yes, score=998.6
X-Spam-Score: 9986
X-Spam-Bar: +++++++++++++++++++++++++++++++++++++++++++++++++++
X-Spam-Report: Spam detection software, running on the system "server", 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 label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X

 
 Content analysis details:   (998.6 points, 7.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.4 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 1000 GTUBE                  BODY: Generic Test for Unsolicited Bulk Email
  0.0 HTML_MESSAGE           BODY: HTML included in message
X-Spam-Flag: YES

Заголовок не меняется (Subject)
может кто что поскажет.

Re: Exim+Spamassassian

Добавлено: 2010-04-19 15:46:39
Agronom
лучше скармливать спам командой:

Код: Выделить всё

sa-learn --spam /var/spool/spam/spam_mail.txt
или собирать спам в отдельную директорию и обучать по всем сразу:

Код: Выделить всё

sa-learn --spam /var/spool/spam/
В конфиге есть строка?

Код: Выделить всё

rewrite_header Subject          ***** SPAM *****
и вообще желательно посмотреть на конфиг ассассина