From owner-freebsd-questions@FreeBSD.ORG Wed Jun 11 08:45:09 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8434237B404 for ; Wed, 11 Jun 2003 08:45:09 -0700 (PDT) Received: from lv.raad.tartu.ee (lv.raad.tartu.ee [194.126.106.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87C7143FBD for ; Wed, 11 Jun 2003 08:45:07 -0700 (PDT) (envelope-from toomas.aas@raad.tartu.ee) Received: Message by Barricade lv.raad.tartu.ee with ESMTP id h5BFj6s08223 for ; Wed, 11 Jun 2003 18:45:06 +0300 Message-Id: <200306111545.h5BFj6s08223@lv.raad.tartu.ee> Received: from INFO/SpoolDir by raad.tartu.ee (Mercury 1.48); 11 Jun 03 18:45:11 +0300 Received: from SpoolDir by INFO (Mercury 1.48); 11 Jun 03 18:45:10 +0300 From: "Toomas Aas" Organization: Tartu City Government To: freebsd-questions@freebsd.org Date: Wed, 11 Jun 2003 18:45:00 +0300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Priority: normal Subject: spamassassin port not reading local.cf? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2003 15:45:09 -0000 Hello! I tried asking this on SpamAssassin list and didn't get it solved. Maybe it is something specific to the FreeBSD port of SA. I'm running Postfix 2.07, amavisd-new-20030314.p1 and SpamAssassin 2.53, all installed from ports. Everything works fine, except that SpamAssassin as running via amavisd-new doesn't seem to read the changes that I make to /usr/local/etc/mail/spamassassin/local.cf. I just whitelisted an address, restarted amavisd-new but the mail coming from this address is still bouncing. I've also tried changing the scores of some tests in local.cf and the changes don't seem to 'take'. I do restart amavisd-new each time after making changes, and it logs the following into /var/log/maillog: ---------------------------------------------------------------------------------- Jun 11 16:40:52 kuller amavis[43126]: SpamControl: initializing Mail::SpamAssassin Jun 11 16:40:56 kuller amavis[43126]: SpamControl: done ---------------------------------------------------------------------------------- Interesting thing is, when I run spamassassin from command line, I see that my changes are honored: # spamassassin -t < false-positive Content analysis details: (-94.50 points, 5 required) HEADER_8BITS (1.2 points) Headers include 3 consecutive 8-bit characters USER_IN_WHITELIST (-100.0 points)From: address is in the user's white-list SUBJ_FULL_OF_8BITS (4.3 points) Subject is full of 8-bit characters So, it's only SA running via amavisd-new that doesn't read my local changes. I'm forced to do the changes in global config files /usr/local/share/spamassassin/*.cf, which is Bad Thing. Help! -- Toomas Aas | toomas.aas@raad.tartu.ee | http://www.raad.tartu.ee/~toomas/ * It's always darkest right before you step on the cat.