All Apps and Add-ons

Sending SMS Alerts from Splunk Free

chintan_shah
Path Finder

Hi,
I am trying to send sms to 1234567890@txt.att.net whenever an alert is triggered. however i am receiving an the below error
command="sendemail", {u' 1234567890@txt.att.net': (550, '5.7.1 Unable to relay')} while sending mail to: 1234567890@txt.att.net.

Can anyone help me in resolving this issues?

Thanks.

Tags (1)
0 Karma

MuS
SplunkTrust
SplunkTrust

If you're on *nix the sendemail command will use localhost as mail server by default. Make sure your localhost can send out emails, because the error message indicates this is not possible.

chintan_shah
Path Finder

Hi, i have setup Splunk Enterprise on Windows and have provided the server as well, if i am trying to send the mail from my machine via outlook its working fine... but via splunk using sendemail its not working only for 1234567890@txt.att.net but if i provide my email id, its working fine... Thanks for quick response.

0 Karma

MuS
SplunkTrust
SplunkTrust

Your email server is blocking you, because your Splunk server probably needs to be added as relay host - ask your mail server admin for help. This is not a Splunk problem 😉

cheers, MuS

chintan_shah
Path Finder

Hi Mus,
I was able to send the mail from the same system without any issues. I am assuming for adding Splunk Server as relay host, you meant to add the IP address of the machine in that case the mail from outlook wouldn't have received. Please correct me if am wrong.

0 Karma

MuS
SplunkTrust
SplunkTrust

You are able to send internal emails in your company, but you are not able to send external emails. Your mail server does not allow relaying of external emails form the Splunk server - talk to your mail server admin they will know what to do - if not use this link

 http://lmgtfy.com/?q=exchange+2010+allow+relay+host 

🙂

0 Karma

ChrisG
Splunk Employee
Splunk Employee

I don't know about the SMS app, but alerting is not available in Splunk Free. Are you sure you aren't on an Enterprise trial license, or a Cloud trial?

chintan_shah
Path Finder

I am currently on Splunk Enterprise and alerts are working fine just not able to send it to 1234567890@txt.att.net.

0 Karma
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!

Agent Mode Engaged! Enchaining Agentic Operations with Splunk AI Assistant 2.0

    Are you ready to transform how your team handles complex data requests? We invite you to our upcoming ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...