Commits

Zhang Huangbin committed 9408495

Typo.

Comments (0)

Files changed (3)

     * Bypass user alias addresses (shadowAddress) if user is allowed to send
       to mail list. Thanks Henri Veldsink for his feedback and testing.
     * Allow to use same logging hander in plugins, print plugin debug message.
-    * Queary user aliases as allowed sender.
+    * Query user aliases as allowed sender.
     * Print error message if plugin module doesn't exist.
-    * New plugin: ldap_domain_wblist, used for per-domain white/blacklist
-      support (including domain alias). NOTE: This plugin requires latest
-      iRedMail LDAP schema file for proper attributes. It's shipped in
-      iRedMail >= 0.6.1.
+    * New plugin: ldap_domain_wblist.
+      Used for per-domain white/blacklist support (including domain alias).
+      NOTE: This plugin requires latest iRedMail LDAP schema file for proper
+      attributes. It's shipped in iRedMail >= 0.6.1.
 
 iRedAPD-1.3.3:
     * Fix bug in src/plugins-rr/ldap_recipient_restriction.py. Thanks

src/iredapd-rr.py

 #!/usr/bin/env python
 # encoding: utf-8
 
-# Author: Zhang Huangbin <michaelbibby (at) gmail.com>
+# Author: Zhang Huangbin <zhb (at) iredmail.org>
 
 import os
 import os.path
 
 # Get config file.
 if len(sys.argv) != 2:
-    sys.exit('Usage: %s /path/to/iredapd.ini')
+    sys.exit('Usage: %s /path/to/iredapd-rr.ini')
 else:
     config_file = sys.argv[1]
 
 #!/usr/bin/env python
 # encoding: utf-8
 
-# Author: Zhang Huangbin <michaelbibby (at) gmail.com>
+# Author: Zhang Huangbin <zhb (at) iredmail.org>
 
 import os
 import os.path
                 dn, entry = result[0]
                 return (dn, entry)
             else:
-                logging.debug('Can not find recipient in LDAP server.')
+                logging.debug('__get_recipient_dn_ldif: Can not find recipient in LDAP server.')
                 return (None, None)
         except Exception, e:
             logging.debug('!!! ERROR !!! __get_recipient_dn_ldif (result): %s' % str(e))