From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 19 08:50:01 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C53F1065674 for ; Mon, 19 May 2008 08:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0CB7B8FC1D for ; Mon, 19 May 2008 08:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4J8o0MS098043 for ; Mon, 19 May 2008 08:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4J8o0bS098042; Mon, 19 May 2008 08:50:00 GMT (envelope-from gnats) Resent-Date: Mon, 19 May 2008 08:50:00 GMT Resent-Message-Id: <200805190850.m4J8o0bS098042@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Marco Walraven Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5DFF106564A for ; Mon, 19 May 2008 08:42:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 648B28FC23 for ; Mon, 19 May 2008 08:42:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m4J8f6bB001613 for ; Mon, 19 May 2008 08:41:06 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m4J8f5N9001612; Mon, 19 May 2008 08:41:05 GMT (envelope-from nobody) Message-Id: <200805190841.m4J8f5N9001612@www.freebsd.org> Date: Mon, 19 May 2008 08:41:05 GMT From: Marco Walraven To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/123812: postfix' pkg-install script doesn't see postfix_default_mta when specified in /etc/make.conf X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 08:50:01 -0000 >Number: 123812 >Category: ports >Synopsis: postfix' pkg-install script doesn't see postfix_default_mta when specified in /etc/make.conf >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon May 19 08:50:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Marco Walraven >Release: 7.0-STABLE >Organization: Terantula >Environment: >Description: The postfix_default_mta variable that is used in postfix' pkg-install script is not available when specified in make.conf. This means it will not automatically write /etc/mail/mailer.conf when installed in BATCH mode. Specifying this on the command line will install the correct mailer.conf. >How-To-Repeat: make sure you have a default /etc/mail/mailer.conf file. Add the following to /etc/make.conf and install postfix. This should not change the /etc/mail/mailer.conf. .if ${.CURDIR:M*/mail/postfix*} POSTFIX_DEFAULT_MTA=yes BATCH=true .endif set both environment variables in your shell and reinstall postfix; /etc/mail/mailer.conf has been altered pointing to the postfix binaries. >Fix: Add the POSTFIX_DEFAULT_MTA variable to the Makefile's SCRIPT_ENV variable. >Release-Note: >Audit-Trail: >Unformatted: