Mailbox -> MailboxTree separation
[org.ibex.mail.git] / src / org / ibex / mail / SMTP.java
index 4cfeb02..039b3a7 100644 (file)
@@ -56,7 +56,7 @@ public class SMTP {
         Integer.parseInt(System.getProperty("org.ibex.mail.smtp.maxMessageSize", "-1"));
 
     private static final Mailbox spool =
-        FileBasedMailbox.getFileBasedMailbox(Mailbox.STORAGE_ROOT,false).slash("spool",true).slash("smtp",true);
+        FileBasedMailbox.getFileBasedMailbox(Mailbox.STORAGE_ROOT,false).slash("spool",true).slash("smtp",true).getMailbox();
 
     static {
         for(int i=0; i<numOutgoingThreads; i++)