ispman/bin ispman.createMailbox, 1.8, 1.9 ispman.deleteMailbox, 1.8, 1.9 ispman.getMailboxQuota, 1.7, 1.8 ispman.setMailboxQuota, 1.7, 1.8

Joerg Delker <[email protected]> Tue, 21 Nov 2006 14:41:29 +0000
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/bin
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv21579/bin

Modified Files:
	ispman.createMailbox ispman.deleteMailbox 
	ispman.getMailboxQuota ispman.setMailboxQuota 
Log Message:
merged branch dev_1_3-cyrus_virtdomain2

Index: ispman.setMailboxQuota
===================================================================
RCS file: /cvsroot/ispman/ispman/bin/ispman.setMailboxQuota,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- ispman.setMailboxQuota	17 Sep 2006 19:48:50 -0000	1.7
+++ ispman.setMailboxQuota	21 Nov 2006 14:41:27 -0000	1.8
@@ -6,7 +6,7 @@
     use Getopt::Std;
     getopt( 'h', \%opts );
     unless ( $opts{'h'} ) {
-        print "Usage: $FindBin::Script  -h imap_server mailbox quota\n";
+        print "Usage: $FindBin::Script  -h imap_server mailbox quota(in MB)\n";
         exit;
     }
 }

Index: ispman.deleteMailbox
===================================================================
RCS file: /cvsroot/ispman/ispman/bin/ispman.deleteMailbox,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- ispman.deleteMailbox	17 Sep 2006 19:48:50 -0000	1.8
+++ ispman.deleteMailbox	21 Nov 2006 14:41:27 -0000	1.9
@@ -19,7 +19,7 @@
 my $err       = 0;
 
 for (@mailboxes) {
-    $err += delete_mailbox( $opts{'h'}, email2uid($_) );
+    $err += delete_mailbox( $opts{'h'}, $_ );
 }
 
 exit $err;

Index: ispman.getMailboxQuota
===================================================================
RCS file: /cvsroot/ispman/ispman/bin/ispman.getMailboxQuota,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- ispman.getMailboxQuota	17 Sep 2006 19:48:50 -0000	1.7
+++ ispman.getMailboxQuota	21 Nov 2006 14:41:27 -0000	1.8
@@ -18,7 +18,7 @@
 my @mailboxes = @ARGV;
 
 for (@mailboxes) {
-    my @q = get_quota( $opts{'h'}, email2uid($_) );
+    my @q = get_quota( $opts{'h'}, $_ );
     print join( ",", @q ) . "\n";
 }
 

Index: ispman.createMailbox
===================================================================
RCS file: /cvsroot/ispman/ispman/bin/ispman.createMailbox,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- ispman.createMailbox	17 Sep 2006 19:48:50 -0000	1.8
+++ ispman.createMailbox	21 Nov 2006 14:41:27 -0000	1.9
@@ -21,7 +21,7 @@
 my $err       = 0;
 
 for (@mailboxes) {
-    $err += create_mailbox( $opts{'h'}, email2uid($_) );
+    $err += create_mailbox( $opts{'h'}, $_ );
 }
 
 exit $err;


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV