Source

iredapd / plugins / ldap_maillist_access_policy.py

Diff from to

plugins/ldap_maillist_access_policy.py

 # Note: Access policy is defined in libs/__init__.py.
 
 import logging
-from libs import SMTP_ACTIONS, ACCESS_POLICIES_OF_MAIL_LIST, ldap_conn_utils
+from libs import SMTP_ACTIONS, LDAP_ACCESS_POLICIES_OF_MAIL_LIST, ldap_conn_utils
 
 REQUIRE_LOCAL_SENDER = False
 REQUIRE_LOCAL_RECIPIENT = True
 
     logging.debug('%s -> %s, access policy: %s (%s)' % (
         sender, recipient, policy,
-        ACCESS_POLICIES_OF_MAIL_LIST.get(policy, 'no description'))
+        LDAP_ACCESS_POLICIES_OF_MAIL_LIST.get(policy, 'no description'))
     )
 
     if policy == 'public':