added two commented lines -- no effect
[org.ibex.mail.git] / 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();