add whitelisting code
[org.ibex.mail.git] / src / org / ibex / mail / protocol / SMTP.java
index bca478b..37686c6 100644 (file)
@@ -36,6 +36,9 @@ public class SMTP {
     public static final Graylist graylist =
         new Graylist(Mailbox.STORAGE_ROOT+"/db/graylist.sqlite");
 
+    public static final Whitelist whitelist =
+        new Whitelist(Mailbox.STORAGE_ROOT+"/db/whitelist.sqlite");
+
     public static final int MAX_MESSAGE_SIZE =
         Integer.parseInt(System.getProperty("org.ibex.mail.smtp.maxMessageSize", "-1"));