ispman/bin ispman.createMailbox, 1.8, 1.8.2.1 ispman.deleteMailbox, 1.8, 1.8.2.1 ispman.getMailboxQuota, 1.7, 1.7.2.1

Pedro Algarvio <[email protected]> Sat, 07 Oct 2006 21:01:09 +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-serv14681/bin

Modified Files:
      Tag: dev_1_3-cyrus_virtdomain2
	ispman.createMailbox ispman.deleteMailbox 
	ispman.getMailboxQuota 
Log Message:
Removed email2uid helper function, it's no longer needed since the correct mailbox naming is fetched on the 'mailbox_action_cyrus.lib'. Cleaned the code a bit.


Index: ispman.deleteMailbox
===================================================================
RCS file: /cvsroot/ispman/ispman/bin/ispman.deleteMailbox,v
retrieving revision 1.8
retrieving revision 1.8.2.1
diff -u -d -r1.8 -r1.8.2.1
--- ispman.deleteMailbox	17 Sep 2006 19:48:50 -0000	1.8
+++ ispman.deleteMailbox	7 Oct 2006 21:01:06 -0000	1.8.2.1
@@ -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.7.2.1
diff -u -d -r1.7 -r1.7.2.1
--- ispman.getMailboxQuota	17 Sep 2006 19:48:50 -0000	1.7
+++ ispman.getMailboxQuota	7 Oct 2006 21:01:06 -0000	1.7.2.1
@@ -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.8.2.1
diff -u -d -r1.8 -r1.8.2.1
--- ispman.createMailbox	17 Sep 2006 19:48:50 -0000	1.8
+++ ispman.createMailbox	7 Oct 2006 21:01:06 -0000	1.8.2.1
@@ -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