summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arendsen Hein <thomas@intevation.de>2009-03-17 16:46:31 (GMT)
committerThomas Arendsen Hein <thomas@intevation.de>2009-03-17 16:46:31 (GMT)
commitda6c575583b4297e0ac3bff1250493ffccae4b7d (patch)
treeb3c8167db10c8730379116a5c6c8889b7690b324
parent40ac02617097436c6968b52ef69661308e55d748 (diff)
downloadkolab-conf-da6c575583b4297e0ac3bff1250493ffccae4b7d.tar.gz
Use RUNONCHANGE mechanism for postfix reload and postmap.
Adding entries to virtual.template and transport.template from LDAP ist the remaining postfix handling in kolabconf. header_checks.template, ldapdistlist.cf.template and ldapvirtual.cf.template.in need no RUNONCHANGE, because - regexp or ldap tables do not need postmap - they are used by the short-living cleanup, no postfix reload needed
-rw-r--r--conf/kolab.globals.in1
-rw-r--r--conf/templates/ldaptransport.cf.template.in1
-rw-r--r--conf/templates/main.cf.template.in1
-rw-r--r--conf/templates/master.cf.template.in1
4 files changed, 3 insertions, 1 deletions
diff --git a/conf/kolab.globals.in b/conf/kolab.globals.in
index d443eb3..d413b46 100644
--- a/conf/kolab.globals.in
+++ b/conf/kolab.globals.in
@@ -41,7 +41,6 @@ hashmethod: @sbindir@/slappasswd -s
templatedir: @sysconfdir@/kolab/templates
kolabdir: @sysconfdir@/kolab/
kolab_cafile: @sysconfdir@/kolab/kolabserver-ca.crt
-postmapping: @sbindir@/postmap -o @emailserver_confdir@
KOLABRC: @KOLABRC@
bindir: @bindir@
sbindir: @sbindir@
diff --git a/conf/templates/ldaptransport.cf.template.in b/conf/templates/ldaptransport.cf.template.in
index 334d497..e0cf52d 100644
--- a/conf/templates/ldaptransport.cf.template.in
+++ b/conf/templates/ldaptransport.cf.template.in
@@ -2,6 +2,7 @@ KOLAB_META_START
TARGET=@emailserver_confdir@/ldaptransport.cf
PERMISSIONS=0640
OWNERSHIP=@emailserver_usr@:@emailserver_grp@
+RUNONCHANGE=@KOLABRC@ rc postfix reload
KOLAB_META_END
# (c) 2005 Steffen Hansen <steffen@klaralvdalens-datakonsult.se> (Klaralvdalens Datakonsult AB)
#
diff --git a/conf/templates/main.cf.template.in b/conf/templates/main.cf.template.in
index 8fa46ec..347a690 100644
--- a/conf/templates/main.cf.template.in
+++ b/conf/templates/main.cf.template.in
@@ -2,6 +2,7 @@ KOLAB_META_START
TARGET=@emailserver_confdir@/main.cf
PERMISSIONS=0644
OWNERSHIP=@emailserver_usr@:@emailserver_grp@
+RUNONCHANGE=@KOLABRC@ rc postfix reload
KOLAB_META_END
# (c) 2004 Steffen Hansen <steffen@klaralvdalens-datakonsult.se> (Klaralvdalens Datakonsult AB)
# (c) 2003 Tassilo Erlewein <tassilo.erlewein@erfrakon.de>
diff --git a/conf/templates/master.cf.template.in b/conf/templates/master.cf.template.in
index ccff4d5..5955bba 100644
--- a/conf/templates/master.cf.template.in
+++ b/conf/templates/master.cf.template.in
@@ -2,6 +2,7 @@ KOLAB_META_START
TARGET=@emailserver_confdir@/master.cf
PERMISSIONS=0640
OWNERSHIP=@emailserver_usr@:@emailserver_grp@
+RUNONCHANGE=@KOLABRC@ rc postfix reload
KOLAB_META_END
# (c) 2004 Steffen Hansen <steffen@klaralvdalens-datakonsult.se> (Klaralvdalens Datakonsult AB)
# (c) 2003 Tassilo Erlewein <tassilo.erlewein@erfrakon.de>