Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

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 Community, Checkmk Pro, Checkmk Ultimate MT
2.0.0p4 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

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