summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/kolab_smtp_access_policy.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/kolab_smtp_access_policy.py b/bin/kolab_smtp_access_policy.py
index 63795ae..473c0a0 100755
--- a/bin/kolab_smtp_access_policy.py
+++ b/bin/kolab_smtp_access_policy.py
@@ -1026,9 +1026,10 @@ class PolicyRequest(object):
return True
- self.verify_authenticity()
- self.sasl_user_uses_alias = self.verify_alias()
+ if self.verify_authenticity() == False:
+ reject(_("Unverifiable sender."))
+ self.sasl_user_uses_alias = self.verify_alias()
if not self.sasl_user_uses_alias:
log.debug(_("Sender is not using an alias"), level=8)