Re: Deleting mailbox with JavaMail

2001-04-12 Thread Atif Ghaffar
Hi Dino. Try these scripts. http://ispman.sourceforge.net/download/utils/ they just require IMAP::Admin and are quiet handy (for me) cheers dino bartolome wrote: > > I recieved this error while runing cyradm. what do i do to fix? i'm running > redhat 7 w/qmail 1.03 > Can't locate Cyrus/IMAP/Sh

Re: Deleting mailbox with JavaMail

2001-04-12 Thread dino bartolome
I recieved this error while runing cyradm. what do i do to fix? i'm running redhat 7 w/qmail 1.03 Can't locate Cyrus/IMAP/Shell.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i3 86-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib /perl5/site_perl/5.6.0 /usr/lib/perl5/

RE: Deleting mailbox with JavaMail

2001-04-12 Thread John Holman
Barbara Actually JavaMail (1.2 at least) does support setting IMAP ACLs (and quotas and namespaces etc) Take a look at com.sun.mail.imap.IMAPFolder under the Sun provider javadocs. The support is described as "experimental" but it is there. I've not tried the ACL stuff but the quota stuff wor

RE: Deleting mailbox with JavaMail

2001-04-11 Thread Barbara Greenwood
Update update It wouldn't work because the mailbox didn't have delete rights for the admin user (great defaultNOT). If I use setaclmailbox via cyrus before hand, my Java works fine. I'm just working on a bit of Java code which will use sockets to give me the necessary permissions vi

Re: Deleting mailbox with JavaMail

2001-04-11 Thread Simon Loader
Barbara Greenwood wrote: > > Hi, > > I'm working on a utility to move a user's mailbox to a different Cyrus > server. The final step is to delete the mailbox from the old location. > but it just won't do it! I get the folder that represents the user's INBOX, > then call delete(true) on it, i

Deleting mailbox with JavaMail

2001-04-10 Thread Barbara Greenwood
Hi, I'm working on a utility to move a user's mailbox to a different Cyrus server. The final step is to delete the mailbox from the old location. but it just won't do it! I get the folder that represents the user's INBOX, then call delete(true) on it, i.e. it should delete recursively. But th