Werk #16043: check_mail and check_mail_loop: Enable EWS and OAuth2

Component Checks & agents
Title check_mail and check_mail_loop: Enable EWS and OAuth2
Date Oct 12, 2023
Level Trivial Change
Class New Feature
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p12 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p36 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

In response to the deprecation of basic authentication for Microsoft mail services, EWS and OAuth2 are enabled for the active checks check_mail ("Check Email") and check_mail_loop ("Check Email Delivery"), as was done for check_mailboxes ("Check IMAP/EWS Mailboxes") already. Users can now configure their respective check rules to fetch (and in case of check_mail_loop send) mails via EWS and OAuth2.

Note that some command line options for the underlying active check commands have changed. So for calling these checks directly from the command line, users will need to look into the command usage help to find the updated options. Check configurations set up in the UI, however, are migrated to the new structure and thus need no further action.

To the list of all Werks