summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/kolab_smtp_access_policy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/kolab_smtp_access_policy.py b/bin/kolab_smtp_access_policy.py
index 473c0a0..9db2c2a 100755
--- a/bin/kolab_smtp_access_policy.py
+++ b/bin/kolab_smtp_access_policy.py
@@ -799,7 +799,7 @@ class PolicyRequest(object):
self.auth = Auth(sasl_domain)
if verify_domain(sasl_domain):
- if self.auth.domains.has_key(sasl_domain):
+ if not self.auth.domains == None and self.auth.domains.has_key(sasl_domain):
log.debug(
_("Using authentication domain %s instead of %s") % (
self.auth.domains[sasl_domain],