Werk #12808: check_mail_loop: crash RuntimeError("Server responded b'+OK 1 messages:', [...]")

Component Checks & agents
Title check_mail_loop: crash RuntimeError("Server responded b'+OK 1 messages:', [...]")
Date May 4, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p4 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The active check check_mail_loop crashed with the error "RuntimeError("Server responded b'+OK 1 messages:', [...]")" if the response from the server contained more characters than just "+OK". E.g. the result "+OK, 1 messages" would have lead to an error. The bugfix contains a more tolerant verification of the result.

To the list of all Werks