summaryrefslogtreecommitdiff
path: root/mail/dspam/files/patch-src__dspam.conf.in
blob: 63e907c50ea2570cda57c0dbb259a1b64116b47a (plain) (blame)
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
--- ./src/dspam.conf.in.orig	Tue Oct 10 01:22:52 2006
+++ ./src/dspam.conf.in	Tue Oct 10 01:39:10 2006
@@ -52,7 +52,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 "@delivery_agent@"
 
 #
 # SMTP or LMTP Delivery: Alternatively, you may wish to use SMTP or LMTP 
@@ -85,7 +85,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	"@delivery_agent@"
 
 #
 # DSPAM can optionally process "plused users" (addresses in the user+detail
@@ -273,7 +273,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
@@ -619,7 +619,10 @@
 # If the message is larger than the maximum size, it will be delivered 
 # without processing. Value is in bytes.
 #
+# WARNING: this applies to clamav scan also
+#
 #MaxMessageSize 4194304
+MaxMessageSize 307200
 
 #
 # Virus Checking: If you are running clamd, DSPAM can perform stream-based
@@ -644,6 +647,7 @@
 #
 #ServerPort		24
 #ServerQueueSize	32
+# keep this is sync with /usr/local/etc/rc.d/dspam[.sh] rc.d script
 #ServerPID              /var/run/dspam.pid
 
 #
@@ -680,14 +684,15 @@
 # you are running the client and server on the same machine, as it eliminates
 # much of the bandwidth overhead.
 #
-#ServerDomainSocketPath  "/tmp/dspam.sock"
+# keep this is sync with /usr/local/etc/rc.d/dspam[.sh] rc.d script
+#ServerDomainSocketPath  "/var/run/dspam.sock"
 
 #
 # Client Mode: If you are running DSPAM in client/server mode, uncomment and
 # set these variables. A ClientHost beginning with a / will be treated as
 # a domain socket.
 #
-#ClientHost	/tmp/dspam.sock
+#ClientHost	/var/run/dspam.sock
 #ClientIdent	"secret@Relay1"
 #
 #ClientHost	127.0.0.1