// FIXME: loop prevention
// FIXME: probably need some throttling on outbound mail
-// graylisting?
-
// FEATURE: infer messageid, date, if not present (?)
// FEATURE: exponential backoff on retry time?
// FEATURE: RFC2822, section 4.5.1: special "postmaster" address
public static final int GRAYLIST_MAXWAIT = 1000 * 60 * 60 * 24 * 5; // five days
public static final Graylist graylist =
- new Graylist(Mailbox.STORAGE_ROOT+"/graylist.sqlite");
+ new Graylist(Mailbox.STORAGE_ROOT+"/db/graylist.sqlite");
public static final int MAX_MESSAGE_SIZE =
Integer.parseInt(System.getProperty("org.ibex.mail.smtp.maxMessageSize", "-1"));
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));