Commits

Zhang Huangbin  committed 4cf7460

Reverse part of last commit: Don't use access policy 'open'.

  • Participants
  • Parent commits e746e96

Comments (0)

Files changed (1)

File src/plugins/ldap_maillist_access_policy.py

 # This plugin is used for mail deliver restriction.
 #
 # Available access policies:
-#   - public or open:   Unrestricted
+#   - public:   Unrestricted
 #   - domain:   Only users under same domain are allowed.
 #   - subdomain:    Only users under same domain and sub domains are allowed.
 #   - membersOnly or members:  Only members are allowed.
 
     logger.debug('(%s) %s -> %s, policy: %s' % (PLUGIN_NAME, sender, recipient, policy))
 
-    if policy in ['public', 'open']:
+    if policy == 'public':
         # No restriction.
         return 'DUNNO Access policy: public.'
     elif policy == "domain":