Werk #16630: Prevent check_mail crash for "Move to subfolder" option

Komponente Checks & agents
Titel Prevent check_mail crash for "Move to subfolder" option
Datum 18.03.2024
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.2.0p26 2.3.0b4 2.4.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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 to subfolder".

For IMAP the copying of mails crashed when there were no mails available in the inbox. This is fixed to skipping the copy command in case there are no mails given.

Zur Liste aller Werks