The postfix package creates /var/db/postfix as root:wheel, while it should be postfix:. Fix: Change pkg-plist, this line: @dir /var/db/postfix to: @dir(postfix,,700) /var/db/postfix
I've taken the postfix ports, this will be fixed within the next days along with an update to a recent version.
A commit references this bug: Author: ohauer Date: Sun May 10 15:24:33 UTC 2015 New revision: 385964 URL: https://svnweb.freebsd.org/changeset/ports/385964 Log: - update to version 3.0.1 - rename OPTIONS to match default name of most ports - SASL2 -> SASL - OPENLDAP -> LDAP - install main.cf and master.cf with the @sample macro - rework pkg-install - fix wrong permission for /var/db/postfix [1] - sets WANT_OPENLDAP_SASL option for openldap port when postfix LDAP_SASL option is set [2] - make usage of new ${opt}_DEPENDS notation Release 3.0.1 or 3.0.2 is now a strong candidate to become the new default mail/postfix port (missing components are VDA and SPF). Changelog: 20150211 Cleanup: strncasecmp_utf8() streamlining. Files: util/stringops.h, util/allascii.c, util/strcasecmp_utf8.c. 20150214 Bugfix (introduced: Postfix 3.0): missing #ifdef USE_TLS inside #ifdef USE_SASL_AUTH. Viktor Dukhovni. File: smtpd/smtpd.c. 20150217 Cleanup: missing <string.h> include. File: util/allascii.c. 20150221 Bugfix (introduced: Postfix 3.0): don't append '.' to the DNS resource record value, when converting TXT records to the string form that is used used by xxx_dns_reply_filter. File: dns/dns_strrecord.c. 20150313 Documentation: incorrect Postfix version number for postscreen_dnsbl_timeout. Quanah Gibson-Mount. File: postscreen/postscreen.c. 20150324 Bugfix (introduced: Postfix 2.6): sender_dependent_relayhost_maps ignored the relayhost setting in the case of a DUNNO lookup result. It would use the recipient domain instead. Viktor Dukhovni. Wietse took the pieces of code that enforce the precedence of a sender-dependent relayhost, the global relayhost, and the recipient domain, and put that code together in once place so that it is easier to maintain. File: trivial-rewrite/resolve.c. 20150328 Bugfix (introduced: Postfix 1.1.0): post-install expanded macros in parameter values when trying to detect parameter overrides, causing unnecessary main.cf updates during Postfix start-up. Julian Reich, Viktor Dukhovni, and Wietse. File: conf/post-install. 20150330 Bitrot: prepare for future changes in OpenSSL API. Viktor Dukhovni. File: tls_dane.c. PR: 198215 [1] PR: 198857 [2] Changes: head/mail/postfix-current/Makefile head/mail/postfix-current/distinfo head/mail/postfix-current/files/pkg-install.in head/mail/postfix-current/pkg-plist
A commit references this bug: Author: ohauer Date: Sun May 10 15:25:34 UTC 2015 New revision: 385965 URL: https://svnweb.freebsd.org/changeset/ports/385965 Log: - update to version 2.11.5 - rename OPTIONS to match default name of most ports - SASL2 -> SASL - OPENLDAP -> LDAP - install main.cf and master.cf with the @sample macro - rework pkg-install - fix wrong permission for /var/db/postfix [1] - sets WANT_OPENLDAP_SASL option for openldap port when postfix LDAP_SASL option is set [2] - make usage of new ${opt}_DEPENDS notation Changelog: 20150324 Bugfix (introduced: Postfix 2.6): sender_dependent_relayhost_maps ignored the relayhost setting in the case of a DUNNO lookup result. It would use the recipient domain instead. Viktor Dukhovni. Wietse took the pieces of code that enforce the precedence of a sender-dependent relayhost, the global relayhost, and the recipient domain, and put that code together in once place so that it is easier to maintain. File: trivial-rewrite/resolve.c. 20150330 Bitrot: prepare for future changes in OpenSSL API. Viktor Dukhovni. File: tls_dane.c. 20150408 Portability: FreeBSD10 support. Files: makedefs, util/sys_defs.h. Incompatibility: specifying "make makefiles" with "CC=command" will no longer override the default WARN setting. PR: 198215 [1] 198857 [2] Changes: head/mail/postfix/Makefile head/mail/postfix/distinfo head/mail/postfix/files/patch-makedefs head/mail/postfix/files/patch-src__util__sys_defs.h head/mail/postfix/files/pkg-install.in head/mail/postfix/pkg-plist
Committed, Thanks for the fix!