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

Werk #19781: Prevent check_mail crash for "Move all processed mesage to subfolder" option

Component Checks & agents
Title Prevent check_mail crash for "Move all processed mesage to subfolder" option
Date Apr 15, 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 Cloud, Checkmk Ultimate MT
2.5.0b5
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.4.0p27
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

The active check check_mail can be configured to move mail messages from the inbox to a subfolder via the options "Forward mails as events to Event Console" > "Cleanup messages" > "Move all processed messages to subfolder".

For IMAP the copying of mails crashed when there were no mails available in the inbox.

This was previously already fixed in Werk 16630 but reintroduced.

This is now fixed again to skipping the copy command in case there are no mails given.

To the list of all Werks