Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3F85A2009C6 for ; Tue, 31 May 2016 17:18:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3E373160A44; Tue, 31 May 2016 15:18:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 845011609AD for ; Tue, 31 May 2016 17:18:09 +0200 (CEST) Received: (qmail 88233 invoked by uid 500); 31 May 2016 15:18:08 -0000 Mailing-List: contact users-help@spamassassin.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@spamassassin.apache.org Received: (qmail 88223 invoked by uid 99); 31 May 2016 15:18:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 May 2016 15:18:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id DCBE61A4E76 for ; Tue, 31 May 2016 15:18:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.727 X-Spam-Level: X-Spam-Status: No, score=-3.727 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-1.426, SPF_PASS=-0.001] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id ADU5cLcayyZn for ; Tue, 31 May 2016 15:18:06 +0000 (UTC) Received: from bnofimage1.buc.com (bnofimage1.buc.com [64.144.21.51]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with SMTP id 1CC995FB3F for ; Tue, 31 May 2016 15:18:05 +0000 (UTC) Received: from bucmail.buc.com ([172.16.17.38]) by bnofimage1.buc.com (SAVSMTP 3.1.0.29) with SMTP id M2016053111175800694 for ; Tue, 31 May 2016 11:17:58 -0400 Received: from [172.16.3.237] (bowie.buc.com [::ffff:172.16.3.237]) (AUTH: LOGIN bowieb@bucmail.buc.com, TLS: TLSv1/SSLv3,128bits,DHE-RSA-AES128-SHA) by bucmail.buc.com with ESMTPSA; Tue, 31 May 2016 11:17:57 -0400 id 00000000000F0082.574DAB25.00006433 Subject: Re: Odd results when using whitelisting To: users@spamassassin.apache.org References: <027250b8-3057-a736-9149-df1261ac0799@howitts.co.uk> <0b66da4b-16b1-a911-d1bc-eff884db8d3b@howitts.co.uk> <2c089f53-ce61-ce7e-68af-9e45ed2ec7d7@howitts.co.uk> <83da2c53-f907-b141-efd3-e5c210c725f3@thelounge.net> <1833143d-b1a7-78e6-b389-6b207df1e292@howitts.co.uk> <4dd9177c-66d9-f274-79f6-2d7c08d88cba@thelounge.net> <40966baf-dd7e-869f-98e0-07d389e95a0f@howitts.co.uk> <0ee642fd-3260-dfcd-015e-c72890455581@thelounge.net> From: Bowie Bailey Message-ID: <5ea133e4-f47e-8dfa-84dd-1391a7edc854@BUC.com> Date: Tue, 31 May 2016 11:17:54 -0400 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit archived-at: Tue, 31 May 2016 15:18:10 -0000 On 5/30/2016 10:35 AM, Nick Howitt wrote: > Just for a bit of closure, it looks like when you use amavisd-new with > SA, it is amavisd-new and not SA which is adding the X-Spam headers. > In /etc/amavisd/api.conf there is a parameter, $sa_tag_level_deflt, > defaulted to -99, below which no X-Spam headers are set. If you > whitelist, you start at -100. So, if the rest of the tests total to > less than 1, you will not get an X-Spam header. This can be confirmed > by playing around with this parameter and by upping the amavisd log > level so you can see the results of all the spam tests for each e-mail > even if it does not get the X-Spam headers. Amavisd-new only uses SA to generate a score for the message. It has it's own settings for tagging and rejection thresholds, writes its own headers, and can mark a message as spam/ham or reject it based on its own whitelists, blacklists, and many other settings. The bottom line is this: If you have a problem with the actual score being generated, look at SA. If you have a problem with the header markup or with messages being rejected or let through without scanning, look at Amavisd. -- Bowie