added two commented lines -- no effect
authoradam <adam@megacz.com>
Tue, 17 Jan 2006 03:46:37 +0000 (03:46 +0000)
committeradam <adam@megacz.com>
Tue, 17 Jan 2006 03:46:37 +0000 (03:46 +0000)
darcs-hash:20060117034637-5007d-42e5af1daae811c731c7c2e7129db2e8ba39f562.gz

src/org/ibex/mail/Main.java

index 46e4e34..ed1791b 100644 (file)
@@ -22,6 +22,7 @@ public class Main implements Listener {
             if      (conn.getLocalPort() == 143)  new IMAP.Listener(auth).handleRequest(conn);
             else if (conn.getLocalPort() == 25)   new SMTP.Server().handleRequest(conn);
             else if (conn.getLocalPort() == 119)  new NNTP.Listener(auth).handleRequest(conn);
+            //else if (conn.getLocalPort() == 110)  new POP3.Listener(auth).handleRequest(conn);
             else if (conn.getLocalPort() == 8099) GMail.handleRequest(conn);
             else if (conn.getLocalPort() == 8080) Jetty.instance().accept(conn);
             else if (conn.getLocalPort() == 80)   Jetty.instance().accept(conn);
@@ -46,6 +47,7 @@ public class Main implements Listener {
                 FileBasedMailbox.getFileBasedMailbox(Mailbox.STORAGE_ROOT + "/user", true);
             return new Account(user, null, root.slash(user, true)){
                     public Mailbox getMailbox(Class protocol) {
+                        //if (protocol == IMAP.class) return super.getMailbox(protocol).slash("newmail", false).slash("pending", false);
                         /*
                         if (protocol == NNTP.class) {
                             final Mailbox arch = new MailmanArchives();