summaryrefslogtreecommitdiff
path: root/mail/dspam/patches/patch-ad
blob: 518a57b94309a3ee1358bdfff77ccf0d2f1f93ed (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
$NetBSD: patch-ad,v 1.3 2010/03/10 13:43:38 martti Exp $

Make this pkgsrc friendly.

--- src/dspam.conf.in.orig	2006-02-15 22:06:35.000000000 +0200
+++ src/dspam.conf.in	2006-05-05 23:44:16.000000000 +0300
@@ -24,7 +24,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@/@storage_driver@
+#StorageDriver @libdir@/@storage_driver@
 
 #
 # Trusted Delivery Agent: Specifies the local delivery agent DSPAM should call 
@@ -53,7 +53,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 
@@ -76,7 +76,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
@@ -264,7 +264,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
@@ -633,9 +633,9 @@
 # specified. If you want the client machine to perform delivery, use
 # the --stdout option in conjunction with a local setup. 
 #
-#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:
@@ -689,7 +689,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
 
 # DataSource: If you are using any type of data source that does not include
 # email-like headers (such as documents), uncomment the line below. This