Alerting

Splunk Alerting by Email Error - 501 5.5.4 Invalid Domain Name

FRoth
Contributor

We configured some alerts that should send an email when fired, but no email gets through. We noticed errors in the internal log that said:

05-26-2014 17:32:56.527 +0200 ERROR ScriptRunner - stderr from 'E:\splunk\etc\apps\search\bin\sendemail.py': ERROR:root:(501, '5.5.4 Invalid domain name') while sending mail to: a.miller@company.com

The SMTP server itself logs:

2014-05-26T05:38:08.117Z,SV0490\Relay SV0490,08D1455F6B42D2E9,3,10.40.13.54:25,10.41.3.200:26174,<,ehlo SV0842.company.com.,
2014-05-26T05:38:08.117Z,SV0490\Relay SV0490,08D1455F6B42D2E9,4,10.40.13.54:25,10.41.3.200:26174,*,Tarpit for '0.00:00:05',
2014-05-26T05:38:13.125Z,SV0490\Relay SV0490,08D1455F6B42D2E9,5,10.40.13.54:25,10.41.3.200:26174,>,501 5.5.4 Invalid domain name,
2014-05-26T05:38:13.125Z,SV0490\Relay SV0490,08D1455F6B42D2E9,6,10.40.13.54:25,10.41.3.200:26174,<,helo SV0842.company.com.,
2014-05-26T05:38:13.125Z,SV0490\Relay SV0490,08D1455F6B42D2E9,7,10.40.13.54:25,10.41.3.200:26174,*,Tarpit for '0.00:00:05',
2014-05-26T05:38:18.133Z,SV0490\Relay SV0490,08D1455F6B42D2E9,8,10.40.13.54:25,10.41.3.200:26174,>,501 5.5.4 Invalid domain name,

The mail admins said that our source IP should be free to send with any source address - we configured splunk@server, splunk@server.fqdn.com without any success. We also changed the server name in the General Settings to the FQDN but nothing helped.
We believe that it has to do with the name sent after HELO/EHLO but we cant see what it is.
We have no idea what the reason for this behaviour could be.

Any ideas?

linu1988
Champion

if you have some org specific email id which deviates from our general email format you may take a look at the below answer. Splunk has mentioned a specific email id format.

http://answers.splunk.com/answers/124873/alert-email-address-doesnt-allow-our-domain

Thanks

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...