summaryrefslogtreecommitdiff
path: root/debian/patches/00-dbmail_conf.dpatch
blob: 8f527c7d25e2f84df24a34ef925817638b99b5ef (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
#! /bin/sh /usr/share/dpatch/dpatch-run
## 00-dbmail_conf.dpatch by  <paul@nfg.nl>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: prepare a sane debian compliant config file

@DPATCH@
diff -urNad dbmail-2.2.5~/dbmail.conf dbmail-2.2.5/dbmail.conf
--- dbmail-2.2.5~/dbmail.conf	2007-04-27 09:52:11.000000000 +0200
+++ dbmail-2.2.5/dbmail.conf	2007-05-15 21:53:25.000000000 +0200
@@ -100,8 +100,8 @@
 # Root privs are used to open a port, then privs
 # are dropped down to the user/group specified here.
 #
-EFFECTIVE_USER        = nobody   
-EFFECTIVE_GROUP       = nogroup 
+EFFECTIVE_USER        = dbmail
+EFFECTIVE_GROUP       = dbmail 
 
 # 
 # The IP addresses the services will bind to.
@@ -154,22 +154,22 @@
 # 
 # logfile for stdout messages
 #
-logfile               = /var/log/dbmail.log        
+logfile               = /var/log/dbmail/dbmail.log        
 
 # 
 # logfile for stderr messages
 #
-errorlog              = /var/log/dbmail.err        
+errorlog              = /var/log/dbmail/dbmail.err        
 
 # 
 # directory for storing PID files
 #
-pid_directory         = /var/run
+pid_directory         = /var/run/dbmail
 
 #
 # directory for storing the daemon statefiles
 #
-state_directory       = /var/run
+state_directory       = /var/run/dbmail
 
 #
 # directory for locating libraries (normally has a sane default compiled-in)