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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...