From owner-freebsd-questions@FreeBSD.ORG Mon Jan 4 01:56:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06ABA106568B for ; Mon, 4 Jan 2010 01:56:45 +0000 (UTC) (envelope-from matt@gsicomp.on.ca) Received: from gsicomp.on.ca (gsicomp.on.ca [200.46.208.251]) by mx1.freebsd.org (Postfix) with ESMTP id C09F78FC12 for ; Mon, 4 Jan 2010 01:56:44 +0000 (UTC) Received: from maia.hub.org (maia-4.hub.org [200.46.204.183]) by gsicomp.on.ca (Postfix) with ESMTP id 7DB79FCA436 for ; Mon, 4 Jan 2010 01:38:52 +0000 (UTC) Received: from gsicomp.on.ca ([200.46.208.251]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 99163-01 for ; Mon, 4 Jan 2010 01:38:53 +0000 (UTC) Received: from hermes (CPE002129cfd480-CM001ac3584898.cpe.net.cable.rogers.com [99.237.38.7]) by gsicomp.on.ca (Postfix) with SMTP id D312AFCA41C for ; Mon, 4 Jan 2010 01:38:51 +0000 (UTC) Message-ID: <0B5EA5AACF984974820923C1FC65D7DB@hermes> From: "Matt Emmerton" To: References: <20100101231924.4df469df@gumby.homeunix.com><35F4927C-D6EA-4C27-B9ED-3E07FFA5FD28@goldmark.org><4B3F46ED.7080100@infracaninophile.co.uk><20100102144557.5ad217f7@gumby.homeunix.com><5B9046E5-B39C-434A-9B8E-8C105869C327@goldmark.org><4B406B21.5000800@infracaninophile.co.uk><4B40F9AB.8030409@infracaninophile.co.uk> <20100104004550.2b4eda47@gumby.homeunix.com> Date: Sun, 3 Jan 2010 20:38:54 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5843 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Mailman-Approved-At: Mon, 04 Jan 2010 02:12:30 +0000 Subject: Re: spamassassin Y2010 bug X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2010 01:56:45 -0000 > On Sun, 03 Jan 2010 20:10:19 +0000 > Matthew Seaman wrote: > >> Comments, critique are welcome. Unless there are any killer bugs, >> I'll send-pr(1) in a week or so. > > You have: > > : ${daily_sa_compile="YES"} > > sa-compile is installed by the SA port, but it requires devel/re2c, > which is an optional dependency. With a standard install your script > will update the rules, the compile will unconditionally fail, and so > spamd won't get restarted. > > You could detect the re2c port, but I think it would be better to turn > it off by default > > I'd also suggest running sa-compile with nice by default. I've put up a set of diffs (patches) in shar format that address some of these issues: 1) re2c is listed as a run dependency. No two ways around it - if you do plan on running sa-compile at some time, you'll need re2c, and chances are that the machine that is running sa-update is also going to be running sa-compile. 2) sa-compile is nice(1)'d by default, and you can provide other flags to nice(1) as well. See http://www.gsicomp.on.ca/~matt/sa-utils-patches.shar Regards, -- Matt Emmerton