ports/123812: postfix' pkg-install script doesn't see postfix_default_mta when specified in /etc/make.conf

Marco Walraven m.walraven at terantula.com
Mon May 19 08:50:01 UTC 2008


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



More information about the freebsd-ports-bugs mailing list