openbsd-ports/mail/dspam/patches/patch-src_dspam_conf_in
landry 37e7a819d5 Update to dspam 3.10.2.
- remove 6 out of the 10 flavors maze, only keep the ones that make
  sense (ie clamav, ldap, domainscale & largescale)
- build pgsql & mysql drivers as subpackages, as $DEITY intended
- @pkgpath & PFRAG.[flavor]-main tweaks from sthen@ (thanks!)
- remove init_pwent_cache() patch until i can make some sense of it
- remove painful strlcpy patches
- add patches to fix pgsql support with PSQL > 9.1 from
  http://sourceforge.net/p/dspam/bug-tracker/112/ &
http://sourceforge.net/p/dspam/bug-tracker/141
- add an rc script running dspam --daemon as _dspam
- patch default dspam.conf to trust user _dspam (pointed out by jca@;
  thanks!) and to use port 2424 by default. Taken from debian.

Discussed at length with todd@ (MAINTAINER), been running on amd64 with
pgsql &| sqlite backend since a while, also tested on sqlite/ppc.

Some tweaks might still be needed (a README ? Fix some weird crashers ?),
but at least it's better than what we had for the past years.
2013-09-14 17:12:10 +00:00

46 lines
1.0 KiB
Plaintext

$OpenBSD: patch-src_dspam_conf_in,v 1.1 2013/09/14 17:12:12 landry Exp $
http://patch-tracker.debian.org/patch/series/view/dspam/3.10.2+dfsg-8/006_default-daemon-port.diff
--- src/dspam.conf.in.orig Sun Sep 8 22:15:30 2013
+++ src/dspam.conf.in Mon Sep 9 08:17:09 2013
@@ -68,7 +68,7 @@ TrustedDeliveryAgent "@delivery_agent@"
# the syntax: DeliveryHost.example.org 1.2.3.4
#
#DeliveryHost 127.0.0.1
-#DeliveryPort 24
+#DeliveryPort 2424
#DeliveryIdent localhost
#DeliveryProto LMTP
@@ -142,12 +142,7 @@ OnFail error
# able to specify delivery agent privileges or use tools.
#
Trust root
-Trust dspam
-Trust apache
-Trust mail
-Trust mailnull
-Trust smmsp
-Trust daemon
+Trust _dspam
#Trust nobody
#Trust majordomo
@@ -807,7 +802,7 @@ Opt out
# interfaces.
#
#ServerHost 127.0.0.1
-#ServerPort 24
+#ServerPort 2424
#ServerQueueSize 32
#ServerPID /var/run/dspam.pid
@@ -856,7 +851,7 @@ Opt out
#ClientIdent "secret@Relay1"
#
#ClientHost 127.0.0.1
-#ClientPort 24
+#ClientPort 2424
#ClientIdent "secret@Relay1"
# --- RABL ---