1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
$NetBSD: patch-af,v 1.10 2002/03/27 07:17:10 martti Exp $
--- conf/main.cf.orig Mon Mar 25 21:09:24 2002
+++ conf/main.cf Wed Mar 27 07:33:47 2002
@@ -1,3 +1,5 @@
+# $NetBSD: patch-af,v 1.10 2002/03/27 07:17:10 martti Exp $
+#
# Global Postfix configuration file. This file lists only a subset
# of all 100+ parameters. See the sample-xxx.cf files for a full list.
#
@@ -31,14 +33,19 @@
# The command_directory parameter specifies the location of all
# postXXX commands. The default value is $program_directory.
#
-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). The
# default value is $program_directory. This directory must be owned
# by root.
#
-daemon_directory = /usr/libexec/postfix
+daemon_directory = __PREFIX/libexec/postfix
+
+# Shared files and etc directory
+etc_directory = /etc/postfix
+share_directory = __PREFIX/share/postfix
+man_directory = __PREFIX/man
# QUEUE AND PROCESS OWNERSHIP
#
@@ -56,7 +63,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
#
@@ -497,9 +504,8 @@
# the process marches on. If you use an X-based debugger, be sure to
# set up your XAUTHORITY environment variable before starting Postfix.
#
-debugger_command =
- PATH=/usr/bin:/usr/X11R6/bin
- xxgdb $daemon_directory/$process_name $process_id & sleep 5
+debugger_command = PATH=/usr/bin:/usr/X11R6/bin; \
+ xxgdb $daemon_directory/$process_name $process_id & sleep 5
# INSTALL-TIME CONFIGURATION INFORMATION
#
@@ -524,16 +530,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/postfix
# readme_directory: The location of the Postfix README files.
#
-readme_directory =
+readme_directory = __PREFIX/share/doc/postfix
|