summaryrefslogtreecommitdiff
path: root/mail/postfix-current/patches/patch-af
blob: 3b68173a39d9ec7a9c46fe25970a4156c716240f (plain)
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
$NetBSD: patch-af,v 1.6 2001/01/13 07:46:57 itojun Exp $

--- conf/main.cf.orig	Fri Dec 15 07:44:19 2000
+++ conf/main.cf	Sat Jan 13 16:39:28 2001
@@ -1,3 +1,5 @@
+#	$NetBSD: patch-af,v 1.6 2001/01/13 07:46:57 itojun 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.
 # 
@@ -28,14 +30,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
 #
@@ -52,7 +59,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
 # 
@@ -440,8 +447,7 @@
 # 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
 
 # Other configurable parameters.