thomas: server/kolabd/kolabd kolabquotareport, 1.1.1.1, 1.1.1.1.4.1 kolabquotawarn.in, 1.10, 1.10.2.1

cvs at kolab.org cvs at kolab.org
Wed Sep 19 19:06:44 CEST 2007


Author: thomas

Update of /kolabrepository/server/kolabd/kolabd
In directory doto:/tmp/cvs-serv6825/kolabd/kolabd

Modified Files:
      Tag: kolab_2_1_branch
	kolabquotareport kolabquotawarn.in 
Log Message:
Determine connect_addr and use it for connecting to Kolab services.


Index: kolabquotareport
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/Attic/kolabquotareport,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.4.1
diff -u -d -r1.1.1.1 -r1.1.1.1.4.1
--- kolabquotareport	23 Nov 2004 20:26:47 -0000	1.1.1.1
+++ kolabquotareport	19 Sep 2007 17:06:42 -0000	1.1.1.1.4.1
@@ -95,7 +95,7 @@
 
 
 ### Connect to Cyrus
-my $cyrus = Cyrus::IMAP::Admin->new('localhost');
+my $cyrus = Cyrus::IMAP::Admin->new($Kolab::config{'connect_addr'});
 $cyrus || die 'Unable to connect to local Cyrus admin interface\n';
 $cyrus->authenticate(
 					 'User'          => $Kolab::config{'cyrus_admin'},

Index: kolabquotawarn.in
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/kolabquotawarn.in,v
retrieving revision 1.10
retrieving revision 1.10.2.1
diff -u -d -r1.10 -r1.10.2.1
--- kolabquotawarn.in	9 Mar 2006 21:35:08 -0000	1.10
+++ kolabquotawarn.in	19 Sep 2007 17:06:42 -0000	1.10.2.1
@@ -191,7 +191,7 @@
 mylog( $syslog_priority, "starting up") if $verbose;
 
 ### Connect to Cyrus
-my $cyrus = Cyrus::IMAP::Admin->new('localhost');
+my $cyrus = Cyrus::IMAP::Admin->new($Kolab::config{'connect_addr'});
 $cyrus || fatal_exit( 'Unable to connect to local Cyrus admin interface' );
 $cyrus->authenticate(
 					 'User'          => $Kolab::config{'cyrus_admin'},





More information about the commits mailing list