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!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

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

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...