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!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...