From users-return-116904-archive-asf-public=cust-asf.ponee.io@spamassassin.apache.org Sun Jan 7 16:27:01 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 708E0180654 for ; Sun, 7 Jan 2018 16:27:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 60962160C29; Sun, 7 Jan 2018 15:27:01 +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 A67E0160C17 for ; Sun, 7 Jan 2018 16:27:00 +0100 (CET) Received: (qmail 89005 invoked by uid 500); 7 Jan 2018 15:26:58 -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 88995 invoked by uid 99); 7 Jan 2018 15:26:58 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Jan 2018 15:26:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 05C7218031D for ; Sun, 7 Jan 2018 15:26:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.731 X-Spam-Level: X-Spam-Status: No, score=-0.731 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Aqxk8iSDaDFl for ; Sun, 7 Jan 2018 15:26:54 +0000 (UTC) Received: from mout.web.de (mout.web.de [212.227.17.11]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 580475F1BA for ; Sun, 7 Jan 2018 15:26:54 +0000 (UTC) Received: from [192.168.2.100] ([79.205.171.27]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0M2Mcy-1er6k50bPY-00sA5h for ; Sun, 07 Jan 2018 16:26:53 +0100 Subject: dns-blocklist aren't used but should be References: To: users@spamassassin.apache.org From: Jan Klein X-Forwarded-Message-Id: Message-ID: <848234be-0ce8-88ba-5177-e7a420d63ba7@web.de> Date: Sun, 7 Jan 2018 16:26:52 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:0v3ydj4xQ6TanUnmnMkpUtowUu4E9r5ji1xvOGQYSX4gI0zVfYy rX6oCtmP6KBFEkkX8JCZP8pY4APKWEy3ngmibS1lwUL26X1Btu/SWRatLjihSxR9Q+dcpAY VUrlqQVQgwBSycyXjv/BOIAx3zMe6rGoFoc3BncAgeLdqBKkXkLJYU/3fPKIWDbr7NkuZvR Sg04yiBZt2yYuxhAxXo+Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:gTXAFaUiUTc=:8FGm/ZhnKNGRyD3iwxOKfP ufpF6aUQiEg5GB1InCw5vR9C/8L5d5ITz7xvhpIBo8pLBh+l4kIQCBj+QYf07GU4FJ437tlRm sz8YJkfvbyIlO43OUdcyE8uHQTP8SEKaFNZ2EJniHI2CBVyhnt46CM8ykBWw4rS6MnA0hSvDo TLARK4XGBPuuCJvUgkWLfQUEchiScUeEytrI6+Ct6bqpDS2MvMke/DwaTtReIpF9kmJEtmjFW GqzLmv860HIGn3EEpSLzw7DduFnFQmbbqG7uSWzJ+Xx990DO/Iu+BkKYsgrvNKEsrMl02kBE+ 0uT71s3u2mMj47624bvYdIhs/8ZHX2SeQaDqDrWBY9qGHOMXIqkvX5Pxyg9m9bS5ptjRzoXwM NqP4R+x4vqVPhzib4npL969tQ8e+Li1S/vqb5tKlg4409E//qcEPXnvUPtMXiuuIuh8Xgx58M JyKu6uI7VVIwrWqP8ETj9EYYWt1rgl/LQmbxKq4jUVOSJ+TYhpKydWTv1NO/rF6ysH8QgH+5a 2lZ2Je3ovNtltaHnzelBreH1dKYJ1Dpgi0qSDoW9Idc4BHsh5icke/tX2CFJQPWr77Xb5fuMN q74nQ5vlmYBgqV/hCj36Yjo+sySjVRyj5s7vbRD7ty7BwAVrgNckDyVLRZxv32USl3n67Gl75 +NehEqVIL2zuhMcJLsH+NHSHevPWN3RwEGsbNRMZyVpEVwaVy/G67YYr/A8TC69Of/2fky+hI +nRd3U/qXqat8OuAZth42gvAyWoNv6hyd6Gkw9e4MrHGEK3o+sO9ERFMAUotd2xYFJ2oKWi4j kUVlRz6SHe2svG1Vo/avELduzwy6l/cHHMZgVIj7P5pj/DS1sI= Hi. For work I am investigating an issue where none of the dns blacklists are used. We are using the current spamassassin version and also current version of Net::DNS. It is installed on a current version debian system. We run a local nameserver using bind. We invoke spamassassin via "spamassassin -t < testmail" where testmail is a spam mail. The weird thing is that a "dig" command works fine on the debian system, so name resolving is actually working outside of spamassassin. And after using the dig command to check the origin of the mail: dig xxx.xxx.xxx.xxx.zen.spamhaus.org Then after using that command, spamassassin will then consider spamhaus when checking the testmail. Probably because the dns entry is cached for a while or something. It will work for some minutes. Same thing with other blacklists. After a dig command spamassassin will start using the respective rule. What is going on? It seems to be DNS related. I've read that Net::DNS is responsible for dns resolving for spamassassin. How can I check if it is working correctly? In my /etc/resolv.conf there is only one entry: 127.0.0.1 since we are running a local nameserver (again: dig or host command work just fine for name resolving ).