thomas: server/kolabd/kolabd kolabquotareport.in, 1.4, 1.5 kolabquotawarn.in, 1.13, 1.14
cvs at kolab.org
cvs at kolab.org
Mon Oct 8 17:50:13 CEST 2007
Author: thomas
Update of /kolabrepository/server/kolabd/kolabd
In directory doto:/tmp/cvs-serv18052/kolabd/kolabd
Modified Files:
kolabquotareport.in kolabquotawarn.in
Log Message:
Determine connect_addr and use it for connecting to Kolab services.
Index: kolabquotareport.in
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/kolabquotareport.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- kolabquotareport.in 3 Oct 2007 10:05:18 -0000 1.4
+++ kolabquotareport.in 8 Oct 2007 15:50:11 -0000 1.5
@@ -97,7 +97,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.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- kolabquotawarn.in 2 Aug 2007 06:49:43 -0000 1.13
+++ kolabquotawarn.in 8 Oct 2007 15:50:11 -0000 1.14
@@ -193,7 +193,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