Werk #14618: check_mail_loop: if configured to delete processed mails, check_mail_loop would delete all mails instead

Component Checks & agents
Title check_mail_loop: if configured to delete processed mails, check_mail_loop would delete all mails instead
Date Jan 23, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p21 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p39 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

As a result of a refactoring instead of deleting just pre-filtered mails, check_mail_loop would delete all previously fetched mails. This change brings back the former behavior.

To the list of all Werks