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
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0p4 2.1.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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