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. Fix: Add the POSTFIX_DEFAULT_MTA variable to the Makefile's SCRIPT_ENV variable. 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.
Maintainer of mail/postfix, Please note that PR ports/123812 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/123812 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Responsible Changed From-To: freebsd-ports-bugs->mnag I'll take it.
State Changed From-To: feedback->open Maintainer has changed
mm 2009-06-04 07:45:27 UTC FreeBSD ports repository Modified files: mail/postfix Makefile pkg-plist mail/postfix/files pkg-install.in Log: - Fix install with defined NOPORTEXAMPLES [1] - Do not install clones of man pages [1] - Add POSTFIX_DEFAULT_MTA to SCRIPTS_ENV [2] - Bump PORTREVISION PR: ports/135241 [1], ports/123812 [2] Submitted by: Sahil Tandon <sahil@tandon.net> (maintainer) [1] Reported by: Marco Walraven <m.walraven@terantula.com> [2] Revision Changes Path 1.146 +5 -13 ports/mail/postfix/Makefile 1.2 +1 -9 ports/mail/postfix/files/pkg-install.in 1.29 +2 -10 ports/mail/postfix/pkg-plist _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Responsible Changed From-To: mnag->mm Taking over because of ports/135241
State Changed From-To: open->closed Fixed in ports/135241