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="[email protected]" server=myServer

I'm getting this error:

command="sendemail", [Errno 110] Connection timed out while sending mail to: [email protected]

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.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...