summaryrefslogtreecommitdiff
path: root/mail/postfix/patches/patch-af
blob: 81118455aac3e2abc92f2a1dedd1b31fb08d25e8 (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
53
54
55
$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