Hi
We use check_email_delivery
to send emails to different mail providers to check if the emails are successfully delivered (check_email_delivery
uses the two plugins check_smtp_send
and check_imap_receive
).
Example for GMX:
'/custom_data/custom.conf.d/customplugins/check_email_delivery' '--wait' '15' '--plugin' '/custom_data/custom.conf.d/customplugins/check_smtp_send --hostname mail.example.com --port 465 --ssl --username test@example.com --password ***** --mailto test@gmx.ch --mailfrom test@example.com --header '\''Subject: Test %TOKEN1%.'\''' '--plugin' '/custom_data/custom.conf.d/customplugins/check_imap_receive --hostname imap.gmx.net --ssl --username test@gmx.ch --password *** -s SUBJECT -s '\''Test %TOKEN1%'\'''
As more and more providers are currently switching from BasicAuth authentication to oAuth2, check_imap_receive
no longer works for Gmail and Hotmail. In the future, there will probably be even more that no longer work.
That’s why I was wondering: What does the Icinga community use to achieve the same thing? Maybe there are experiences with other plugins?
Best,
Markus