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 works with Cyrus.
John
At 10:21 11/04/01, you wrote:
>Update.... update....
>
>It wouldn't work because the mailbox didn't have delete rights for the
>admin user (great default....NOT). 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 via the IMAP SETACL command. Unfortunately JavaMail
>doesn't support the ACL extension to IMAP, so there aren't any methods on
>the Folder class to do this.
>
>Barbara