From d2c78426f9e493361b71199244ef2626eb6b9451 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Mon, 14 Sep 2015 12:28:06 +0200 Subject: [feat] return a more meaningful msg if user exists but has no key - Resolves: #7272 --- changes/feature_7272-msg-key-not-found | 1 + src/leap/mx/check_recipient_access.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changes/feature_7272-msg-key-not-found diff --git a/changes/feature_7272-msg-key-not-found b/changes/feature_7272-msg-key-not-found new file mode 100644 index 0000000..2d82df8 --- /dev/null +++ b/changes/feature_7272-msg-key-not-found @@ -0,0 +1 @@ +- return a more meaningful msg if user exists but has no key (Closes: #7272) 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, -- cgit v1.2.3