Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

Werk #19428: Fix POP3-based email active checks crashing with AssertionError

Component Checks & agents
Title Fix POP3-based email active checks crashing with AssertionError
Date Mar 25, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.6.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.5.0b2
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.4.0p26
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT

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.

To the list of all Werks