[pkg-kolab] r758 - kolabd/branches/2.2/debian

mparent-guest at alioth.debian.org mparent-guest at alioth.debian.org
Fri Mar 14 19:19:51 UTC 2008


Author: mparent-guest
Date: 2008-03-14 19:19:50 +0000 (Fri, 14 Mar 2008)
New Revision: 758

Modified:
   kolabd/branches/2.2/debian/changelog
   kolabd/branches/2.2/debian/postinst
Log:
add user postfix to group sasl during postinst, to allow authentication 
    within postfix


Modified: kolabd/branches/2.2/debian/changelog
===================================================================
--- kolabd/branches/2.2/debian/changelog	2008-03-14 19:11:36 UTC (rev 757)
+++ kolabd/branches/2.2/debian/changelog	2008-03-14 19:19:50 UTC (rev 758)
@@ -12,6 +12,8 @@
     /etc/kolab/freebusy_config.php and format has changed
   * updated patch common/dist_conf, smarty has now the good path
   * new patch 40-disable-amavis : amavis is suggested, so disabled as default
+  * add user postfix to group sasl during postinst, to allow authentication 
+    within postfix
 
  -- Mathieu PARENT <mathieu at localhost.localdomain>  Fri, 14 Mar 2008 19:45:05 +0100
 

Modified: kolabd/branches/2.2/debian/postinst
===================================================================
--- kolabd/branches/2.2/debian/postinst	2008-03-14 19:11:36 UTC (rev 757)
+++ kolabd/branches/2.2/debian/postinst	2008-03-14 19:19:50 UTC (rev 758)
@@ -9,6 +9,11 @@
 	fi
 }
 
+adduser_postfix_in_sasl() {
+	# Add user postfix to group SASL, if such group exists
+        adduser postfix sasl || true
+}
+
 fixperms() {
 	chown kolab:kolab /var/lib/kolab
 	chmod 2775 /var/lib/kolab
@@ -16,6 +21,7 @@
 
 if [ "$1" = configure ]; then
 	add_kolab_system_users
+	adduser_postfix_in_sasl
 	fixperms
 fi
 




More information about the pkg-kolab-devel mailing list