Alerting

Can you help me with my email alerts issue?

alva_drian
New Member

Hi,

I'm trying to configure some alerts by email, but I got the following error:

Sending the test email failed: command="sendemail", (550, '5.7.1 Client does not have permissions to send as this sender') while sending mail to: myemail 

The following search command works fine:

head 100 | top 2 host | sendemail to="myemail" server=myserver:25 from=emailalerts

Any suggest? Thanks

0 Karma

chrisyounger
SplunkTrust
SplunkTrust

Hi @alva_drian

I think your mail relay is rejecting the mail becuase the "from" address you are specifying is not allowed.

See here:
https://support.desk.com/customer/portal/articles/1104707-client-does-not-have-permissions-to-send-a...

If you can't make that change on the relay, then follow the instructions here: https://docs.splunk.com/Documentation/Splunk/7.2.3/Alert/Emailnotification to set the "send mail as" value to be the same as what you are running in your ad-hoc alert.

Hope this helps!

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...