Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2008 08:41:05 GMT
From:      Marco Walraven <m.walraven@terantula.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/123812: postfix' pkg-install script doesn't see postfix_default_mta when specified in /etc/make.conf
Message-ID:  <200805190841.m4J8f5N9001612@www.freebsd.org>
Resent-Message-ID: <200805190850.m4J8o0bS098042@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805190841.m4J8f5N9001612>