All Apps and Add-ons

Phantom - IMAP app - Error connecting to server. [Errno -2] Name or service not known. Connectivity test failed

markhill1
Path Finder

Hi All, I'm trying to get the IMAP Mailbox app working on our Phantom instance (4.6.19142) and we keep seeing errors.

Our config is 'outlook.office365.com:993' as the server/hostname and use SSL is ticked.

Testing Connectivity
App 'IMAP' started successfully (id: 1582158372604) on asset: 'imap-splunk-alerts'(id: 14)
Loaded action execution configuration
Error connecting to server. [Errno -2] Name or service not known. Connectivity test failed. No action executions found.

We have no firewall rules in place that may stop the connection.

nc -zvw 1 outlook.office365.com 993

Ncat: Version 7.50 ( https://nmap.org/ncat )
Ncat: Connected to 40.100.151.226:993.
Ncat: 0 bytes sent, 0 bytes received in 0.07 seconds.

What is weird is that we aren't seeing any traffic at all on port 993 or port 143 (when specified) when we run a tcpdump.

This should be the simplest thing on earth to get working, but so far a solution has eluded us.
Any advice would be gratefully received. Thanks.

Tags (2)
0 Karma

sam_splunk
Splunk Employee
Splunk Employee

Hi Mark,

set your server to: outlook.office365.com (without :993) and make sure the Use SSL checkbox is checked, then try again.

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...