Alerting

Email alerts for scheduled searches are failing - ERROR [Errno -3] Temporary failure in name resolution while sending mail

Mick
Splunk Employee
Splunk Employee

I am encountering the following error in the python.log file when Splunk tries to send an email alert.

2012-08-30 12:11:15,213 ERROR [Errno -3] Temporary failure in name resolution while sending mail to myEmail@email.me

Sending an email manually works without any problem from the command line and the UI

What is this error and how can it be resolved?

Tags (2)
1 Solution

Rob
Splunk Employee
Splunk Employee

This error shows that the Splunk user is unable to resolve the domain name for sending the email.
Most likely, this is due to a permissions issue where the Splunk user is not allowed to make a DNS lookup on your system/network whereas the user that was used to test sending an email directly from the system is allowed to do so.

You might want to check this by trying to send an email manually from that system as the Splunk user. If you are unable to do so, please check the security permissions and allow for the Splunk user to make DNS lookups.

View solution in original post

Rob
Splunk Employee
Splunk Employee

This error shows that the Splunk user is unable to resolve the domain name for sending the email.
Most likely, this is due to a permissions issue where the Splunk user is not allowed to make a DNS lookup on your system/network whereas the user that was used to test sending an email directly from the system is allowed to do so.

You might want to check this by trying to send an email manually from that system as the Splunk user. If you are unable to do so, please check the security permissions and allow for the Splunk user to make DNS lookups.

Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...