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!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...