Splunk Search

command="sendemail", (535, '5.7.3 Authentication unsuccessful') while sending mail to

indeed_2000
Motivator

hi i want to use sendmail spl command but it give me below error

command="sendemail", (535, '5.7.3 Authentication unsuccessful') while sending mail to: myemail@mydomain.com

 

my spl command:

index=_internal | head 5 | sendemail to="myemail@mydomain.com" server=mail.server.com subject="Here is an email from Splunk" message="This is an example message" sendresults=true inline=true format=raw sendpdf=true

 
 

FYI:email setting from web server configuration already set correctly, and i test it with alert and send email correctly, but when i use sendmail spl command not work!

 

also i check config file it set correctly:

/opt/splunk/etc/system/local/alert_actions.conf

 

any idea?

thanks,

Labels (4)
Tags (4)
0 Karma
1 Solution

indeed_2000
Motivator

after some workaround solved, server not joined to the domain. I write my username with domain, it fixed.

myuser@domain.com

View solution in original post

0 Karma

indeed_2000
Motivator

after some workaround solved, server not joined to the domain. I write my username with domain, it fixed.

myuser@domain.com

0 Karma

PickleRick
SplunkTrust
SplunkTrust

It's easiest to check with the email server's admin but I'd say that sendemail command doesn't authenticate itself.

0 Karma

PickleRick
SplunkTrust
SplunkTrust

This is a response from the server you're trying to use to send mail through. For some reason it's not letting you do it. You should ask the admin of  that server why.

0 Karma

indeed_2000
Motivator

alert and sendmail using same method, what is different?

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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