summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2015-09-14 12:28:06 +0200
committerRuben Pollan <meskio@sindominio.net>2015-09-15 14:13:25 +0200
commitd2c78426f9e493361b71199244ef2626eb6b9451 (patch)
tree4a3af2a208c2ca16335bdc5b5b36427c6b574723 /src
parent8384b006f575ac0b769f9f6e9ce6b2c623ec9fa1 (diff)
[feat] return a more meaningful msg if user exists but has no key
- Resolves: #7272
Diffstat (limited to 'src')
-rw-r--r--src/leap/mx/check_recipient_access.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/mx/check_recipient_access.py b/src/leap/mx/check_recipient_access.py
index f994e78..070ff0d 100644
--- a/src/leap/mx/check_recipient_access.py
+++ b/src/leap/mx/check_recipient_access.py
@@ -65,7 +65,7 @@ class LEAPPostFixTCPMapAccessServer(postfix.PostfixTCPMapServer):
elif pubkey is None:
self.sendCode(
TCP_MAP_CODE_TEMPORARY_FAILURE,
- postfix.quote("4.7.13 USER ACCOUNT DISABLED"))
+ postfix.quote("4.7.13 NO PUBKEY FOUND"))
else:
self.sendCode(
TCP_MAP_CODE_SUCCESS,