EMAIL DELIVERY CRITICAL - imap failed: IMAP RECEIVE CRITICAL - Could not connect to outlook.office365.com port 993: IO::Socket::INET configuration failederror:00000000:lib(0):func(0):reason(0) at /usr/local/nagios/libexec/check_imap_receive line 124.
Same command on other hosts works fine but not on this one.
nmap outlook.office365.com -p 993
Starting Nmap 5.51 ( http://nmap.org ) at 2015-11-10 20:44 MST
Nmap scan report for outlook.office365.com (132.245.193.130)
Host is up (0.036s latency).
Other addresses for outlook.office365.com (not scanned): 132.245.229.114 132.245.56.114 132.245.224.194 132.245.74.98 132.245.77.34 132.245.36.98 132.245.48.18
PORT STATE SERVICE
993/tcp open imaps
Nmap done: 1 IP address (1 host up) scanned in 5.67 seconds
yum list installed | grep Socket
*Note* Red Hat Network repositories are not listed below. You must run this command as root to access RHN repositories.
perl-IO-Socket-INET6.noarch 2.56-4.el6 @anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.4
perl-IO-Socket-SSL.noarch 1.31-2.el6 @anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.4
perl-Socket6.x86_64 0.23-4.el6 @rhel-6-server-rpms
I read around for a bit, and believe the openssl version may be the culprit. Can you check the openssl version on one of the servers that is working and post the output as well?