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.

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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...