2012-12-06 11:47:35 +01:00
|
|
|
$NetBSD: patch-ad,v 1.4 2012/12/06 10:47:35 roy Exp $
|
2010-03-10 14:43:38 +01:00
|
|
|
|
|
|
|
Make this pkgsrc friendly.
|
2005-10-20 10:33:13 +02:00
|
|
|
|
2012-12-06 11:47:35 +01:00
|
|
|
--- 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 @@
|
2005-10-20 10:33:13 +02:00
|
|
|
# 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.
|
|
|
|
#
|
2012-12-06 11:47:35 +01:00
|
|
|
-StorageDriver @libdir@/dspam/@storage_driver@
|
|
|
|
+#StorageDriver @libdir@/dspam/@storage_driver@
|
2005-10-20 10:33:13 +02:00
|
|
|
|
|
|
|
#
|
2012-12-06 11:47:35 +01:00
|
|
|
# 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
|
2005-10-20 10:33:13 +02:00
|
|
|
# necessary if you plan on allowing untrusted processing.
|
|
|
|
#
|
|
|
|
-#UntrustedDeliveryAgent "/usr/bin/procmail -d %u"
|
|
|
|
+#UntrustedDeliveryAgent "@PREFIX@/bin/procmail -d %u"
|
|
|
|
|
|
|
|
#
|
2012-12-06 11:47:35 +01:00
|
|
|
# SMTP or LMTP Delivery: Alternatively, you may wish to use SMTP or LMTP
|
|
|
|
@@ -88,7 +88,7 @@
|
2005-10-20 10:33:13 +02:00
|
|
|
# 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
|
2012-12-06 11:47:35 +01:00
|
|
|
@@ -350,7 +350,7 @@
|
2005-10-20 10:33:13 +02:00
|
|
|
# Storage driver settings: Specific to a particular storage driver. Uncomment
|
|
|
|
# the configuration specific to your installation, if applicable.
|
|
|
|
#
|
2012-12-06 11:47:35 +01:00
|
|
|
-#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.
|
2005-10-20 10:33:13 +02:00
|
|
|
#
|
2012-12-06 11:47:35 +01:00
|
|
|
-#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
|
2005-10-20 10:33:13 +02:00
|
|
|
-#ServerPort 24
|
|
|
|
+#ServerPort 2400
|
|
|
|
#ServerQueueSize 32
|
2012-12-06 11:47:35 +01:00
|
|
|
-#ServerPID /var/run/dspam.pid
|
|
|
|
+#ServerPID @DSPAM_PIDDIR@/dspam.pid
|
2005-10-20 10:33:13 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# ServerMode specifies the type of LMTP server to start. This can be one of:
|
2012-12-06 11:47:35 +01:00
|
|
|
@@ -865,7 +865,7 @@
|
2005-10-20 10:33:13 +02:00
|
|
|
# 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
|
|
|
|
|
2012-12-06 11:47:35 +01:00
|
|
|
# --- ---
|
|
|
|
|