From owner-freebsd-questions@freebsd.org Mon Sep 14 06:29:49 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2BDCFA02B17 for ; Mon, 14 Sep 2015 06:29:49 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BA4F81CDC for ; Mon, 14 Sep 2015 06:29:48 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id DBC77D7888; Mon, 14 Sep 2015 13:29:37 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:in-reply-to:subject:subject:from:from :received:received:received; s=selector1; t=1442212176; x= 1444026577; bh=3tjEDz97dGxETxFS0GhieUEwEceNeDXh+bOqU4sY/qU=; b=M nW/eoDEdTDjX+p8QYfmea087ylSnHv6yUtNEZypaBNEfcPxha0+iZh80cn62IMix JmR267SBohSelLxIvpvJ9/t6NRh0l24AqsxrV5UGp9ZpGQaSmVz4Wn2sReYR6uGi z+dAOLSXD4M+wZfja8TIIY2X9YpbPolF9myDJMVqTw= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 3c3AZk4FoHaC; Mon, 14 Sep 2015 13:29:36 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id B2CB5D7887; Mon, 14 Sep 2015 13:29:36 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.7/8.14.7/Submit) id t8E6Ta5e048347; Mon, 14 Sep 2015 13:29:36 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) From: Olivier Nicole To: Nagy =?utf-8?B?TMOhc3psw7M=?= Zsolt Cc: freebsd-questions@freebsd.org Subject: Re: {Spam?} Re: {Spam?} Re: Cannot test spamassassin, what is going on here? In-Reply-To: <55F65D30.4080103@shopzeus.com> (message from Nagy =?utf-8?B?TMOhc3psw7M=?= Zsolt on Mon, 14 Sep 2015 07:37:52 +0200) Date: Mon, 14 Sep 2015 13:29:35 +0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2015 06:29:49 -0000 Nagy L=C3=A1szl=C3=B3 Zsolt writes: > su postfix -c 'spamassassin -p /usr/local/etc/MailScanner/spam.assassin.p= refs.conf -t < /tmp/test.eml ' > > The result is this: > >> Content analysis details: (-5.0 points, 5.0 required) >> >> pts rule name description >> ---- ---------------------- >> -------------------------------------------------- >> -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed athttp://www.dnswl.org/, >> high >> trust >> [8.8.178.116 listed in list.dnswl.org] >> 0.0 T_TVD_MIME_EPI BODY: No description available. >> > > But this is wrong, because the email is still identified as ham. But the = live server has identified it as spam =3D> still cannot test spamassassin. The only test you show is a network test (DNSWL), you have no action on the value returned by http://www.dnswl.org/, so it sould have returned one result when the live test was run and a different value when you run the manual test. At tmie of the manual test, it seems that the address tested is in the white list, hence the message is classified as ham. As a rule of thumb, the value of network test should be regarded very lightly when you run a single message multiple times, because they are very likely to change. Best regards, Olivier > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > --=20