Email check with Office 365
Posted: Tue Oct 10, 2017 3:09 am
Hi Everyone,
I'm trying to set up an Email Delivery check (using the built in wizard) to check mail flow from a local SMTP server to an Office 365 mailbox.
The email is delivered ok, but I get an error when the check tries to connect to the Office 365 mailbox.
The command that runs and the error I get are :
I've ran nmap outlook.office365.com 143 and it tells me the port is open, so my Nagios server can see Office365's server ok.
I'm running Nagios XI 5.4.10.
Any suggestions will be appreciated.
Peter.
I'm trying to set up an Email Delivery check (using the built in wizard) to check mail flow from a local SMTP server to an Office 365 mailbox.
The email is delivered ok, but I get an error when the check tries to connect to the Office 365 mailbox.
The command that runs and the error I get are :
Code: Select all
/usr/local/nagios/libexec/check_email_delivery --mailto [email protected] --mailfrom [email protected] -H 172.16.12.22 --smtp-server 172.16.12.22 --smtp-username '' --smtp-password '' --smtp-port 25 --imap-server outlook.office365.com --username 'xxxxxx' --password 'xxxxxxx' --imap-port 143 EMAIL DELIVERY CRITICAL - imap failed: IMAP RECEIVE CRITICAL - Could not connect to outlook.office365.com port 143: 1 BAD Command received in Invalid state. at /usr/local/nagios/libexec/check_imap_receive line 145. I'm running Nagios XI 5.4.10.
Any suggestions will be appreciated.
Peter.