Reporting

command="sendemail", SMTP AUTH extension not supported by server.

pduvofmr
Path Finder

Hi splunker´s,

have a problem to send mails by splunk.

index=main | head 5 | sendemail to=my.name@XXX.com server=XXX.mail.protection.outlook.com subject="Here is an email notification" message="This is an example message" sendresults=true inline=true format=raw sendpdf=true
Mail has been sent

index=main | head 5 | sendemail to=my.name@XXX.com subject="Here is an email notification" message="This is an example message" sendresults=true inline=true format=raw sendpdf=true
Get this error: command="sendemail", SMTP AUTH extension not supported by server.

Server settings > email settings were set

Without the specification of the server no mails will be sent.
Thus, automatic reports do not send mails.
any idea?

Labels (1)
0 Karma
1 Solution

pduvofmr
Path Finder

Funny... set, and then clear the credentials for smtp works...

View solution in original post

0 Karma

pduvofmr
Path Finder

Funny... set, and then clear the credentials for smtp works...

0 Karma

pduvofmr
Path Finder

Hi,

compare these both searches.
The only difference is, that in the second search the option "server=" isnt set.

In general splunk server options the mail host, seurity, username and password where set.

Why mailsent works in first search with the "server=" option and the second search wothout "serch=" didnt?

0 Karma

woodcock
Esteemed Legend

The message is pretty clear, the email server that you are attempting to use to send your email does not accept passwordless simple SMTP AUTH, therefore you must configure Splunk to use a password to connect to your mail server.

0 Karma

pduvofmr
Path Finder

Hi,

compare these both searches.
The only difference is, that in the second search the option "server=" isnt set.

In general splunk server options the mail host, seurity, username and password where set.

Why mailsent works in first search with the "server=" option and the second search wothout "serch=" didnt?

0 Karma
Get Updates on the Splunk Community!

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

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 ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...