summaryrefslogtreecommitdiff
path: root/mail/dspam/patches/patch-ad
blob: 43d6a9a5a659522230b9c14f0006b0af724d2f1e (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
$NetBSD: patch-ad,v 1.4 2012/12/06 10:47:35 roy Exp $

Make this pkgsrc friendly.

--- src/dspam.conf.in	2012-04-11 19:48:33.000000000 +0100
+++ src/dspam.conf.in	2012-12-05 16:25:34.000000000 +0000
@@ -26,7 +26,7 @@
 # this option. If you do not wish to lose all of your data, you will need to
 # migrate it to the new backend before making this change.
 #
-StorageDriver @libdir@/dspam/@storage_driver@
+#StorageDriver @libdir@/dspam/@storage_driver@
 
 #
 # Trusted Delivery Agent: Specifies the local delivery agent DSPAM should call
@@ -55,7 +55,7 @@
 # the user DSPAM is processing mail for. This configuration parameter is only
 # necessary if you plan on allowing untrusted processing.
 #
-#UntrustedDeliveryAgent "/usr/bin/procmail -d %u"
+#UntrustedDeliveryAgent "@PREFIX@/bin/procmail -d %u"
 
 #
 # SMTP or LMTP Delivery: Alternatively, you may wish to use SMTP or LMTP
@@ -88,7 +88,7 @@
 # a quarantine agent which will be called with all messages DSPAM thinks is
 # spam. Use %u to specify the user DSPAM is processing mail for.
 #
-#QuarantineAgent	"/usr/bin/procmail -d spam"
+#QuarantineAgent	"@PREFIX@/bin/procmail -d spam"
 
 #
 # DSPAM can optionally process "plused users" (addresses in the user+detail
@@ -350,7 +350,7 @@
 # Storage driver settings: Specific to a particular storage driver. Uncomment
 # the configuration specific to your installation, if applicable.
 #
-#MySQLServer		/var/lib/mysql/mysql.sock
+#MySQLServer		/tmp/mysql.sock
 #MySQLPort		
 #MySQLUser		dspam
 #MySQLPass		changeme
@@ -361,7 +361,7 @@
 # If you are using replication for clustering, you can also specify a separate
 # server to perform all writes to.
 #
-#MySQLWriteServer	/var/lib/mysql/mysql.sock
+#MySQLWriteServer	/tmp/mysql.sock
 #MySQLWritePort		
 #MySQLWriteUser		dspam
 #MySQLWritePass		changeme
@@ -807,9 +807,9 @@
 # interfaces.
 #
 #ServerHost		127.0.0.1
-#ServerPort		24
+#ServerPort		2400
 #ServerQueueSize	32
-#ServerPID		/var/run/dspam.pid
+#ServerPID		@DSPAM_PIDDIR@/dspam.pid
 
 #
 # ServerMode specifies the type of LMTP server to start. This can be one of:
@@ -865,7 +865,7 @@
 # If you are a reporting streamlined blackhole list participant, you can
 # touch ip addresses within the directory the rabl_client process is watching.
 #
-#RABLQueue	/var/spool/rabl
+#RABLQueue	@VARBASE@/spool/rabl
 
 # ---  ---