You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Linspeed <le...@linspeed.com> on 2008/07/17 10:51:34 UTC

Is it OK to run sa-learn on messages with SpamAssassin headers?

Hello

Is it OK to run sa-learn with the  --spam option on messages that have
already had the SpamAssassin message placed at the top?

i.e. if I run it on this message below, will sa-learn ignore the top message
and only read the original spam at the bottom, or will it read everything?
If it reads everything will this screw up my ham words bayes database?

Thanks


------------=_4872113C.E6F0FB23
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

Spam detection software, running on the system "best.localnet", 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
lee@xxx.com for details.

Content preview:  John McCain gathers support from lackeys in Iraq and
Afghanistan
   towards his election campaign http://testing.vuenosairez.com/r.html [...]
   

Content analysis details:   (11.4 points, 8.0 required)

 pts rule name              description
---- ----------------------
--------------------------------------------------
 1.5 HELO_DYNAMIC_DHCP      Relay HELO'd using suspicious hostname (DHCP)
 2.9 BAD_ENC_HEADER         Message has bad MIME encoding in the header
 1.6 RCVD_IN_SORBS_DUL      RBL: SORBS: sent directly from dynamic IP
address
                            [151.50.15.45 listed in dnsbl.sorbs.net]
 0.5 RCVD_IN_PBL            RBL: Received via a relay in Spamhaus PBL
                            [151.50.15.45 listed in zen.spamhaus.org]
 2.0 URIBL_BLACK            Contains an URL listed in the URIBL blacklist
                            [URIs: vuenosairez.com]
 2.9 URIBL_JP_SURBL         Contains an URL listed in the JP SURBL blocklist
                            [URIs: vuenosairez.com]
 0.1 RDNS_DYNAMIC           Delivered to trusted network by host with
                            dynamic-looking rDNS



------------=_4872113C.E6F0FB23
Content-Type: message/rfc822; x-spam-type=original
Content-Description: original message before SpamAssassin
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

Return-path: <Ma...@4welches.com>
Envelope-to: email@xxx.com
Delivery-date: Mon, 07 Jul 2008 13:50:06 +0100
Received: from senna.dnuk.com [80.84.66.37]
	by best.localnet with POP3 (fetchmail-6.3.8)
	for <xx...@localhost> (single-drop); Mon, 07 Jul 2008 13:51:03 +0100 (BST)
Received: from adsl-ull-45-15.50-151.net24.it ([151.50.15.45])
	by senna.dnuk.com with esmtp (Exim 4.69)
	(envelope-from <Ma...@4welches.com>)
	id 1KFqAQ-0002gT-9j
	for email@xxx.com; Mon, 07 Jul 2008 13:50:06 +0100
From:   "=?ISO-8859-1?Q?Marty?=" <Ma...@4welches.com>
To: email@xxx.com
Subject: =?ISO-8859-1?Q?Memorabilia for heroes only?=
Date:   Mon, 7 Jul 2008 14:49:51 +0200
Mime-Version: 1.0
Content-Type: text/plain;
        charset="ISO-8859-1"
Content-Transfer-Encoding: 8BIT
Message-Id: <O8...@4welches.com>

John McCain gathers support from lackeys in Iraq and Afghanistan towards his
election campaign http://testing.vuenosairez.com/r.html


------------=_4872113C.E6F0FB23--

-- 
View this message in context: http://www.nabble.com/Is-it-OK-to-run-sa-learn-on-messages-with-SpamAssassin-headers--tp18504214p18504214.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: Is it OK to run sa-learn on messages with SpamAssassin headers?

Posted by Matus UHLAR - fantomas <uh...@fantomas.sk>.
On 17.07.08 01:51, Linspeed wrote:
> Is it OK to run sa-learn with the  --spam option on messages that have
> already had the SpamAssassin message placed at the top?

yes, SA removes those headers. If there are some extra headers you want to
use, you can still use bayes_ignore_header
-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Emacs is a complicated operating system without good text editor.