All Apps and Add-ons

Mail connection error: [Errno 104] Connection reset by peer

jhankee
New Member

I'm trying to connect to an Exchange mailbox. POP3 is enabled on the mailbox & server, but I;m seeing the following error in the Splunk Log

Mail connection error: [Errno 104] Connection reset by peer

Any advice would be helpful.

0 Karma

seunomosowon
Communicator

Hi,

It doesn't look like it's able to connect to the port. Do you have pop on port 110 or pop3 with ssl on 995 configured?

0 Karma

jhankee
New Member

I enabled DUBUG as suggested in the README:

2017-03-23 10:10:27.064 cmd='python /opt/splunk/etc/apps/TA-mailclient/bin/mail.py' Not added to run queue
2017-03-23 10:10:27.064 PipelineSet 0: Destroying ExecedCommandPipe for "python /opt/splunk/etc/apps/TA-mailclient/bin/mail.py" id=14611
2017-03-23 10:10:27.064 PipelineSet 0: Ran script: python /opt/splunk/etc/apps/TA-mailclient/bin/mail.py, took 0.387506 seconds to run, 0 bytes read
2017-03-23 10:10:26.814 PipelineSet 0: Got EOF from "python /opt/splunk/etc/apps/TA-mailclient/bin/mail.py", uniqueId=14611
2017-03-23 10:10:26.809 message from "python /opt/splunk/etc/apps/TA-mailclient/bin/mail.py" Mail connection error: [Errno 104] Connection reset by peer
2017-03-23 10:10:26.794 message from "python /opt/splunk/etc/apps/TA-mailclient/bin/mail.py" Got credentials from endpoint - Username(monitor@email.host.com)
2017-03-23 10:10:26.791 message from "python /opt/splunk/etc/apps/TA-mailclient/bin/mail.py" 1 number of passwords found at endpoint
2017-03-23 10:10:26.677 PipelineSet 0: Created new ExecedCommandPipe for "python /opt/splunk/etc/apps/TA-mailclient/bin/mail.py", uniqueId=14611
2017-03-23 10:10:26.677 Running: python /opt/splunk/etc/apps/TA-mailclient/bin/mail.py on PipelineSet 0
2017-03-23 10:10:26.677 cmd='python /opt/splunk/etc/apps/TA-mailclient/bin/mail.py' Added to run queue
2017-03-23 10:10:26.677 adding "python /opt/splunk/etc/apps/TA-mailclient/bin/mail.py" to runqueue
2017-03-23 10:10:26.677 ExecProcessorSharedState::addToRunQueue() path='python /opt/splunk/etc/apps/TA-mailclient/bin/mail.py' restartTimerIfNeeded=1

0 Karma
Get Updates on the Splunk Community!

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...