Am 24.01.2016 um 19:37 schrieb Sarang Shrivastava:
I am just a newbie who has started using SA. Someone on the mailing list suggested me to use -D option. So if this option is for debugging then how do we classify it ?
please don't top-post and press reply-all on mailing-lists! don't write subjects with caps only score SUBJ_ALL_CAPS 0.518 1.625 1.197 1.506 just without specify -D? yes it is for debug - look at "spamassassin -h"you should better describe you overall goal which is maybe not using spamassassin just on a shell!
[root@mail-gw:/var/lib/spamass-milter]$ su -c "/usr/bin/spamassassin < /var/lib/spamass-milter/spam-example.eml" - sa-milt Jan 24 19:56:37.839 [633] warn: config: created user preferences file: /var/lib/spamass-milter/.spamassassin/user_prefs
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on
mail-gw.thelounge.net
X-Spam-Status: No, score=-2.0, tag-level=5.5, block-level=8.0,
envelope=_SENDERDOMAIN_, from=gmail.com
X-Spam-Report: =?ISO-8859-1?Q?Flag: No,
* -2.0 ALL_TRUSTED Nachricht wurde nur =fcber
vertrauensw=fcrdige Rechner
* weitergeleitet
* 0.0 SHORTCIRCUIT Not all rules were run, due to a
shortcircuited rule
* 0.0 CUST_SHORTCIRCUIT Skip tests based on
whitelists/blacklists and
* local relays?=
Received: from mail-gw.thelounge.net (mail-gw.thelounge.net [10.0.0.19])
(using TLSv1.2
with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No
client certificate requested)
by mail.thelounge.net (THELOUNGE MTA) with ESMTPS id 3hjPzJ6TWVz23
for <[email protected]>; Wed, 27 Aug 2014 00:30:20 +0200
(CEST)
Received: from arrakis.thelounge.net (arrakis.thelounge.net [10.0.0.6])by mail-gw.thelounge.net (THELOUNGE GATEWAY) with ESMTP id 3hjPzJ2tkPz1w for <[email protected]>; Wed, 27 Aug 2014 00:30:20 +0200 (CEST)
Date: Wed, 27 Aug 2014 00:30:19 +0200 To: [email protected] From: Mail-Administrator <[email protected]> Subject: TestMessage-ID: <ac29b495e4f8272e477a291cb8fe9c93c7af5d481409092...@arrakis.thelounge.net>
X-Received: xx.xx.xx.241 (openvpn-rh.thelounge.net) on panel.thelounge.net by HTTP Precedence: bulk Auto-Submitted: auto-generated MIME-Version: 1.0 X-Virus-Scanned: Yes X-Virus-Status: Clean Return-Path: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Sun, Jan 24, 2016 at 11:59 PM, Reindl Harald <[email protected] <mailto:[email protected]>> wrote: Am 24.01.2016 um 19:25 schrieb Sarang Shrivastava: I just downloaded a dataset of spam and hams from the net and fed one of the training file as input to the SA. What i want from it is to classify it as a spam or a ham when i run the command spamassassin -D < TEST_00000.eml and why do you use '-D' for 'debug' when you just want to classify it?
signature.asc
Description: OpenPGP digital signature
