Reporting

sendemail [Errno 110] Connection

djmikef
New Member

I'm trying to send an email with the server being different from the one specified in the system settings. Here is the search that I'm using:

mySearch | sendemail to="myEmail@place.com" server=myServer

I'm getting this error:

command="sendemail", [Errno 110] Connection timed out while sending mail to: myEmail@place.com

This works on a splunk server on the same subnet. Is this a problem with the way I'm using sendemail or is it more likely a network issue?

Tags (1)
0 Karma
1 Solution

Drainy
Champion

That error is a network error and not really a Splunk error.

I would do a couple of connectivity tests to the sendmail server with the details you're trying to use, make sure you have the right ports etc.

View solution in original post

vennemp
Observer

I am having same issue. I can telnet over the smtp port to the smtp server configured in the email settings in splunk from an ssh session to Splunk host. I don't see how this is a networking issue and I can see the traffic going out of my firewall.

0 Karma

Drainy
Champion

That error is a network error and not really a Splunk error.

I would do a couple of connectivity tests to the sendmail server with the details you're trying to use, make sure you have the right ports etc.

Get Updates on the Splunk Community!

Best Strategies to Optimize Observability Costs

 Join us on Tuesday, May 6, 2025, at 11 AM PDT / 2 PM EDT for an insightful session on optimizing ...

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...