From owner-freebsd-ports@FreeBSD.ORG Wed Feb 8 00:06:53 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 19EEC106568F for ; Wed, 8 Feb 2012 00:06:53 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 172-17-150-251.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 08B7E14D90D; Wed, 8 Feb 2012 00:06:51 +0000 (UTC) Message-ID: <4F31BC9B.4040202@FreeBSD.org> Date: Tue, 07 Feb 2012 16:06:51 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:10.0) Gecko/20120201 Thunderbird/10.0 MIME-Version: 1.0 To: Freddie Cash References: <20120207020427.GB8661@magic.hamla.org> <4831.46.129.107.107.1328625848.squirrel@mymail.acsalaska.net> <0C1FF807-0415-4D21-9C92-C4443BB184CE@tandon.net> In-Reply-To: X-Enigmail-Version: 1.3.5 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "freebsd-ports@freebsd.org" , Sahil Tandon Subject: Re: Input on "most correct" way to set IS_INTERACTIVE for Postfix ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2012 00:06:53 -0000 On 02/07/2012 13:18, Freddie Cash wrote: > On Tue, Feb 7, 2012 at 12:37 PM, Sahil Tandon wrote: >> On Feb 7, 2012, at 9:44 AM, rflynn@acsalaska.net wrote: >> >>>> mail/postfix and its derivatives are interactive when ALL of the >>>> following conditions are true: >>>> >>>> - PACKAGE_BUILDING is undefined >>>> - /etc/mail/mailer.conf exists >>>> - /etc/mail/mailer.conf contains a line beginning with 'purgestat' >>> - POSTFIX_DEFAULT_MTA is unset >> >> Right, but regardless of whether this is set, or what it is set to, the script still asks a question unless other conditions are met, and only the default answer (that is displayed along with the query) is affected. Are you suggesting that we change the behavior to not ask the question at all, and just leave mailer.conf alone if the latter variable above is unset, and always change mailer.conf if it is set? I just want to make sure I understand your suggestion. > > Couldn't you add an OPTION for updating mailer.conf? Then, if that > OPTION is set, update mailer.conf; and if it isn't set, then leave > mailer.conf alone. On my package-building system I do not want to twiddle mailer.conf, but on the systems that I install the package on, I do. Doug -- It's always a long day; 86400 doesn't fit into a short. Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/