Werk #19428 · Mar 25, 26
Fix POP3-based email active checks crashing with AssertionError
Previously, the active checks Check email delivery (check_mail_loop), Check Email (check_mail), and Check mailboxes (check_mailboxes) crashed with an AssertionError when using POP3 as the fetch protocol:
AssertionError: Expected tuple with two elements, got (b'+OK 2 messages:', [...], 17)
This is a regression introduced in Checkmk 2.4. IMAP connections were not affected.
Technical background
An internal refactoring of the email response parser introduced assumptions about the response format that were incompatible with Python's poplib library. This has been fixed.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0b2All Editions
- 2.4.0p26All Editions