Commits

Zhang Huangbin committed 9c4bb42

Don't return DUNNO if sender address has less than 6 characters.
Thanks warriornew for the report in our bbs.

  • Participants
  • Parent commits 3d74114

Comments (0)

Files changed (3)

 iRedAPD-1.4.1:
     * Fixed:
+        + Don't return DUNNO if sender address has less than 6 characters.
+          Thanks warriornew for the report in our bbs.
         + Incorrect variable name in plugins/sql_alias_access_policy.py.
         + Not quote email address and domain name in SQL command in plugins
           sql_alias_access_policy.py, sql_user_restrictions.py.

File libs/ldaplib/modeler.py

                 not 'recipient' in smtp_session_data:
             return SMTP_ACTIONS['default']
 
-        # Not a valid email address.
-        if len(smtp_session_data['sender']) < 6:
-            return 'DUNNO'
-
         # No plugins available.
         if not plugins:
             return 'DUNNO'

File libs/sql/modeler.py

            not 'recipient' in smtp_session_data:
             return SMTP_ACTIONS['default']
 
-        # Not a valid email address.
-        if len(smtp_session_data['sender']) < 6:
-            return 'DUNNO'
-
         # No plugins available.
         if not plugins:
             return 'DUNNO'