From owner-freebsd-ports@FreeBSD.ORG Tue Feb 7 21:18:45 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB566106564A for ; Tue, 7 Feb 2012 21:18:45 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 95E778FC0C for ; Tue, 7 Feb 2012 21:18:45 +0000 (UTC) Received: by vbbfa15 with SMTP id fa15so7587710vbb.13 for ; Tue, 07 Feb 2012 13:18:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=LM66jr/0SMX5an8mbMK5qbNFqtlYae45EBKt5M5I13Y=; b=SdxuQlaaGJWIOKbqmtlDt+bsMNwkixcquEdIN/MRyWXfIT1ffKtpRvwXR7mgHN8viy RXOdznxc1Ph6O1ELOzP15ozgmo40WOQW6ZshVS3tTl+mt08vQ1vCPaHlB0cAL1Yy1w1o bc9SPCY1jeL6KFvedV1jsWvZ/UzL7MB5F9dNI= MIME-Version: 1.0 Received: by 10.52.23.169 with SMTP id n9mr8714263vdf.15.1328649524926; Tue, 07 Feb 2012 13:18:44 -0800 (PST) Received: by 10.220.181.4 with HTTP; Tue, 7 Feb 2012 13:18:44 -0800 (PST) In-Reply-To: <0C1FF807-0415-4D21-9C92-C4443BB184CE@tandon.net> References: <20120207020427.GB8661@magic.hamla.org> <4831.46.129.107.107.1328625848.squirrel@mymail.acsalaska.net> <0C1FF807-0415-4D21-9C92-C4443BB184CE@tandon.net> Date: Tue, 7 Feb 2012 13:18:44 -0800 Message-ID: From: Freddie Cash To: Sahil Tandon Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-ports@freebsd.org" 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: Tue, 07 Feb 2012 21:18:45 -0000 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' >> =C2=A0 - POSTFIX_DEFAULT_MTA is unset > > Right, but regardless of whether this is set, or what it is set to, the s= cript still asks a question unless other conditions are met, and only the d= efault answer (that is displayed along with the query) is affected. =C2=A0A= re you suggesting that we change the behavior to not ask the question at al= l, and just leave mailer.conf alone if the latter variable above is unset, = and always change mailer.conf if it is set? =C2=A0I 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. Then remove the IS_INTERACTIVE completely. --=20 Freddie Cash fjwcash@gmail.com