[//]: # (werk v2)
# Prevent check_mail crash for "Move to subfolder" option
key | value
---------- | ---
date | 2024-03-18T09:19:03+00:00
version | 2.3.0b3
class | fix
edition | cre
component | checks
level | 1
compatible | yes
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.