package org.ibex.mail.target;
import org.ibex.js.*;
+import org.ibex.io.*;
import org.ibex.util.*;
import org.ibex.mail.*;
import org.ibex.mail.filter.*;
private static final JS.Method METHOD = new JS.Method();
private static Script root = null;
- private static final String DEFAULT_CONF = File.separatorChar + "etc" + File.separatorChar + "org.ibex.mail.conf";
+ private static final String DEFAULT_CONF = Mailbox.STORAGE_ROOT + "conf" + File.separatorChar + "inbound.js";
public static Script root() {
try {
if (root == null) root = new Script(System.getProperty("ibex.mail.conf", DEFAULT_CONF));
} catch (IOException e) { throw new JSExn(e.toString()); }
case "mail.my.mailbox":
FileBasedMailbox root = FileBasedMailbox.getFileBasedMailbox(Mailbox.STORAGE_ROOT, true);
- return root.slash("user", true).slash("megacz", true).slash("newmail", true);
+ return root.slash("user", true).slash("megacz", true);
case "mail.list": return METHOD;
//#end
return super.get(name);