892051bdaba140138e1f1f306785d408f41fc112
[pkgsrc.git] / mail / dspam / patches / patch-ad
1 $NetBSD: patch-ad,v 1.2 2006/05/06 08:36:10 xtraeme Exp $
2
3 --- src/dspam.conf.in.orig      2006-02-15 22:06:35.000000000 +0200
4 +++ src/dspam.conf.in   2006-05-05 23:44:16.000000000 +0300
5 @@ -24,7 +24,7 @@
6  # this option. If you do not wish to lose all of your data, you will need to
7  # migrate it to the new backend before making this change.
8  #
9 -StorageDriver @libdir@/@storage_driver@
10 +#StorageDriver @libdir@/@storage_driver@
11  
12  #
13  # Trusted Delivery Agent: Specifies the local delivery agent DSPAM should call 
14 @@ -53,7 +53,7 @@
15  # the user DSPAM is processing mail for. This configuration parameter is only 
16  # necessary if you plan on allowing untrusted processing.
17  #
18 -#UntrustedDeliveryAgent "/usr/bin/procmail -d %u"
19 +#UntrustedDeliveryAgent "@PREFIX@/bin/procmail -d %u"
20  
21  #
22  # SMTP or LMTP Delivery: Alternatively, you may wish to use SMTP or LMTP 
23 @@ -76,7 +76,7 @@
24  # a quarantine agent which will be called with all messages DSPAM thinks is
25  # spam. Use %u to specify the user DSPAM is processing mail for.
26  #
27 -#QuarantineAgent       "/usr/bin/procmail -d spam"
28 +#QuarantineAgent       "@PREFIX@/bin/procmail -d spam"
29  
30  #
31  # DSPAM can optionally process "plused users" (addresses in the user+detail
32 @@ -264,7 +264,7 @@
33  # Storage driver settings: Specific to a particular storage driver. Uncomment
34  # the configuration specific to your installation, if applicable.
35  #
36 -#MySQLServer           /var/lib/mysql/mysql.sock
37 +#MySQLServer           /tmp/mysql.sock
38  #MySQLPort
39  #MySQLUser             dspam
40  #MySQLPass             changeme
41 @@ -633,9 +633,9 @@
42  # specified. If you want the client machine to perform delivery, use
43  # the --stdout option in conjunction with a local setup. 
44  #
45 -#ServerPort            24
46 +#ServerPort            2400
47  #ServerQueueSize       32
48 -#ServerPID              /var/run/dspam.pid
49 +#ServerPID              @DSPAM_PIDDIR@/dspam.pid
50  
51  #
52  # ServerMode specifies the type of LMTP server to start. This can be one of:
53 @@ -689,7 +689,7 @@
54  # If you are a reporting streamlined blackhole list participant, you can
55  # touch ip addresses within the directory the rabl_client process is watching.
56  #
57 -#RABLQueue     /var/spool/rabl
58 +#RABLQueue     @VARBASE@/spool/rabl
59  
60  # DataSource: If you are using any type of data source that does not include
61  # email-like headers (such as documents), uncomment the line below. This