summaryrefslogtreecommitdiffstats
path: root/ucs
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-12-12 13:41:48 +0000
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-12-12 13:41:48 +0000
commit1dd9c6570e4ef2b08523e8545d41c97830459624 (patch)
tree97508cc0391a38c9c64b93bfd7cc64c43c2e7e40 /ucs
parent9152aecc7c9a9ce98a0e0854002ef7d086fac26e (diff)
downloadpykolab-1dd9c6570e4ef2b08523e8545d41c97830459624.tar.gz
Make sure result_attr is obtained from our configuration before using the corresponding variable
Diffstat (limited to 'ucs')
-rwxr-xr-xucs/kolab_sieve.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ucs/kolab_sieve.py b/ucs/kolab_sieve.py
index b6d0349..f2b8df0 100755
--- a/ucs/kolab_sieve.py
+++ b/ucs/kolab_sieve.py
@@ -134,6 +134,7 @@ def handler(*args, **kw):
# See if the mailserver_attribute exists
mailserver_attribute = conf.get('ldap', 'mailserver_attribute').lower()
+ result_attr = conf.get('cyrus-sasl', 'result_attribute').lower()
if mailserver_attribute == None:
log.error("Mail server attribute is not set")