Hello Team,
I am trying to make use of the plugin “check_mail_loop” whose purpose is to send out eMails to a defined mail address using the SMTP protocol and then tries to receive these mails back by querying the inbox of a IMAP or POP3 mailbox.
The first message gets delivered to the destination email address. However after that nothing happens, the output of the plugin reads " UNKNOWN - Failed to check for mails: [Errno 101] Network is unreachable".
Any ideas as to what could be the problem?.
My configuration is as follows:
SMTP server: My company’s smtp server for sending out mails.
Mail Receiving:
IMAP server: outlook.office365.com (My comany uses 0ffice365 as local exchange server)
Authnetication : My company email and password
From: email address : My company email
Destination email address : A gmail account which I created and configured auto response on it.
Thanks for your feedback. I appreciate.
The goal is to ensure we are getting external emails.
Since the auto responder will not work, what would you suggest.
Also will using my My company email and password as the authentication be correct. Since the IMAP server would not be outlook.office365.com.
Thanks in anticipation of your response.
If you want to check if you can receive emails from external senders you need to put the credentials of your test gmail account into the SMTP section of that configuration.
The destination email address then is your company email address.
Then the email is sent from gmail to your company account.
I already tried it and also gave all Firewall access. Now check_mk can send from the gmail account to my internal office mail. But I am now getting the error “UNKNOWN - Failed to check for mails: timed out”
At first it was “UNKNOWN - Failed to check for mails: Bad login”.
Note: the Imap server is the company’s Imap server and my company email address and password as the authentication.
I have tried with and without ssl encryption. Also used “Use TLS for IMAP authentification”
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.