diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2011-07-05 09:59:01 +0100 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2011-07-05 09:59:01 +0100 |
commit | 3d9b7aa9998b3a71bf790199a45d6ee1521581ea (patch) | |
tree | 23295fc40dbc8b365e1e458c847e9f7b34fc056c /bin | |
parent | b4cb49dd3690d8be274335fdfd423eb5339e76f9 (diff) | |
download | pykolab-3d9b7aa9998b3a71bf790199a45d6ee1521581ea.tar.gz |
Add action dunno for Kolab SMTP Access Policy
Diffstat (limited to 'bin')
-rw-r--r-- | bin/kolab_smtp_access_policy.py | 6 |
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) |