steffen: server/kolab-webadmin/kolab-webadmin/www/admin/service index.php, 1.18, 1.19

cvs at intevation.de cvs at intevation.de
Wed Apr 27 21:47:51 CEST 2005


Author: steffen

Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/www/admin/service
In directory doto:/tmp/cvs-serv8847/kolab-webadmin/kolab-webadmin/www/admin/service

Modified Files:
	index.php 
Log Message:
mail attribute for kolabGroupOfNames -- its not used for _anything_ internally (Issue533)

Index: index.php
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/www/admin/service/index.php,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- index.php	11 Mar 2005 09:11:15 -0000	1.18
+++ index.php	27 Apr 2005 19:47:49 -0000	1.19
@@ -41,6 +41,7 @@
   global $amavis;
   global $quotawarn;
   global $freebusypast;
+  global $postfixmydomain;
   global $postfixmynetworks;
   global $postfixallowunauth;
   global $postfixrelayhost;
@@ -62,6 +63,7 @@
 	$amavis = $attrs['postfix-enable-virus-scan'][0];
 	$quotawarn = $attrs['cyrus-quotawarn'][0];
 	$freebusypast = $attrs['kolabFreeBusyPast'][0];
+	$postfixmydomain = $attrs['postfix-mydomain'][0];
 	$postfixmynetworks = $attrs['postfix-mynetworks'][0];
 	$postfixallowunauth = $attrs['postfix-allow-unauthenticated'][0];
 	$postfixrelayhost = $attrs['postfix-relayhost'][0];
@@ -94,6 +96,7 @@
 	foreach( array( 'postmaster', 'hostmaster', 'abuse', 'virusalert', 'MAILER-DAEMON' ) as $group ) {
 	  $attrs = array( 'objectClass' => array( 'top', 'kolabGroupOfNames' ),
 					  'cn' => $group,
+					  'mail' => $group.'@'.$postfixmydomain,
 					  'member' => $dn );
 	  if( !ldap_add( $ldap->connection, "cn=$group,".$_SESSION['base_dn'], $attrs ) ) {
 		$errors[] = _("LDAP Error: Failed to add distribution list $group: ").$ldap->error();





More information about the commits mailing list