summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-06-17 21:02:55 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-06-17 21:02:55 (GMT)
commit47b41c6c53cb88b4b73e800475ccdc5f90d58e45 (patch)
tree6a63f168b9bce0c82d1efb9e46a87be94e243476
parentbaa2d91f5ba5deae5d2c5d1c26471166f187490d (diff)
downloadperl-Kolab-47b41c6c53cb88b4b73e800475ccdc5f90d58e45.tar.gz
Update setquota.pl
-rwxr-xr-xbin/setquota.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/setquota.pl b/bin/setquota.pl
index c5b9bee..bad3a5f 100755
--- a/bin/setquota.pl
+++ b/bin/setquota.pl
@@ -6,7 +6,9 @@
use Kolab;
use Kolab::Cyrus;
-my ($mailboxName, $mailboxType) = @ARGV;
+my $mailboxName = $ARGV[0];
+my $quota = $ARGV[1];
+my $mailboxType = $ARGV[2];
Kolab::reloadConfig('/etc/kolab/kolab-shc.conf');
@@ -14,4 +16,4 @@ if ( !$mailboxType ) {
$mailboxType = 'user';
}
-Kolab::cyrusMurderSetQuota($mailboxName, $mailboxType);
+Kolab::cyrusMurderSetQuota($mailboxName, $quota, $mailboxType);