Zhang Huangbin  committed eb28adf

New file: TODO.

  • Participants
  • Parent commits 664aa86

Comments (0)

Files changed (2)

+* Use python file as config file instead of .ini
+* Merge and
+* Query required LDAP attributes instead of all
+* Query required SQL columns instead of all
+* Plugins:
+    + Greylisting (server-wide and per-user, per-domain)
+    + White/Blacklisting (server-wide and per-domain)

File src/

     from libs.sqllib import SQLModeler as Modeler
     plugins = cfg.get('sql', 'plugins', '')
-    sys.exit('Invalid backend. It should be ldap, mysql or pgsql.')
+    sys.exit('Invalid backend, it must be ldap, mysql or pgsql.')
 from libs import __version__, SMTP_ACTIONS
         ip, port = localaddr
-"Starting iredapd (v%s, %s). Enabled plugin(s): %s. Listening on %s:%d." %
-                (__version__, backend, plugins, ip, port))
+"Starting iRedAPD (v%s, %s)." % (__version__, backend))
+"Enabled plugin(s): %s." % (plugins))
+"Listening on %s:%d." % (ip, port))
     def handle_accept(self):
         conn, remote_addr = self.accept()