$NetBSD: patch-af,v 1.9 2004/06/06 13:50:41 taca Exp $ --- conf/main.cf.orig 2004-04-15 22:27:21.000000000 +0900 +++ conf/main.cf @@ -32,13 +32,18 @@ queue_directory = /var/spool/postfix # 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 # @@ -56,7 +61,7 @@ mail_owner = postfix # 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 # @@ -611,7 +616,7 @@ mailq_path = # 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 # html_directory: The location of the Postfix HTML documentation. # @@ -619,13 +624,13 @@ html_directory = # 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. # This parameter is obsolete as of Postfix 2.1. # -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