add mailbox acls, further separate Mailbox and MailboxTree
[org.ibex.mail.git] / src / org / ibex / mail / Main.java
index db9a36b..a11b9a0 100644 (file)
@@ -121,10 +121,10 @@ public class Main {
         private KerberosAuth ka = new KerberosAuth("MEGACZ.COM", "chaitin.megacz.com");
         public Account anonymous() {
             try {
-                final Mailbox root =
+                final MailboxTree root =
                     FileBasedMailbox.getFileBasedMailbox(Mailbox.STORAGE_ROOT + "/list", false);
                 if (root==null) return null;
-                return new Account("anonymous", null, root){
+                return new Account("anonymous", null, root) {
                     public MailboxTree getMailbox(Class protocol) {
                         return super.getMailbox(protocol);
                     }