$NetBSD: patch-af,v 1.18 2004/01/21 06:56:48 martti Exp $ --- conf/main.cf.orig 2003-09-06 03:30:35.000000000 +0300 +++ conf/main.cf 2004-01-21 08:40:42.000000000 +0200 @@ -31,13 +31,18 @@ # The command_directory parameter specifies the location of all # postXXX commands. # -command_directory = /usr/sbin +command_directory = __PREFIX/sbin # The daemon_directory parameter specifies the location of all Postfix # daemon programs (i.e. programs listed in the master.cf file). This # directory must be owned by root. # -daemon_directory = /usr/libexec/postfix +daemon_directory = __PREFIX/libexec/postfix + +# Shared files and etc directory +etc_directory = __PKG_SYSCONFDIR +share_directory = __PREFIX/share/examples/postfix +man_directory = __PREFIX/man # QUEUE AND PROCESS OWNERSHIP # @@ -55,7 +60,7 @@ # These rights are used in the absence of a recipient user context. # DO NOT SPECIFY A PRIVILEGED USER OR THE POSTFIX OWNER. # -#default_privs = nobody +default_privs = nobody # INTERNET HOST AND DOMAIN NAMES # @@ -621,16 +626,16 @@ # commands. This must be a group name with a numerical group ID that # is not shared with other accounts, not even with the Postfix account. # -setgid_group = +setgid_group = maildrop # manpage_directory: The location of the Postfix on-line manual pages. # -manpage_directory = +manpage_directory = __PREFIX/man # sample_directory: The location of the Postfix sample configuration files. # -sample_directory = +sample_directory = __PREFIX/share/examples/postfix # readme_directory: The location of the Postfix README files. # -readme_directory = +readme_directory = __PREFIX/share/doc/postfix