summaryrefslogtreecommitdiffstats
path: root/bin/kolab_smtp_access_policy.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/kolab_smtp_access_policy.py')
-rw-r--r--bin/kolab_smtp_access_policy.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/kolab_smtp_access_policy.py b/bin/kolab_smtp_access_policy.py
index a0f18ba..e48a2d1 100644
--- a/bin/kolab_smtp_access_policy.py
+++ b/bin/kolab_smtp_access_policy.py
@@ -43,6 +43,9 @@ auth = Auth()
#
# Caching routines using buzhug.
#
+# If creating the cache fails, we continue without any caching, significantly
+# increasing the load on LDAP.
+#
cache_expire = 3600
try:
@@ -98,6 +101,9 @@ except ImportError:
def defer_if_permit(message, policy_request=None):
print "action=DEFER_IF_PERMIT %s" %(message)
+def dunno(message, policy_request=None):
+ print "action=DUNNO %s" %(message)
+
def reject(message, policy_request=None):
print "action=REJECT %s" %(message)