Reporting

Try to send an email over a mail-relay host accepting SSL and TLS

zugji
Path Finder

We try to set up sending email over a mail-relay host accepting SSL and TLS connection.
When I run following query

index="ix-website-apache-test" | sendemail to=recipient@domain.com from=splunk@domain.com use_tls=false use_ssl=true

In the python.log I got follwing error:

2017-02-15 14:04:10,964 +0100 ERROR sendemail:131 - Sending email. subject="Splunk Results", results_link="None", recipients="[u'recipient@domain.com']", server="mail-relay.domain.com:465"
2017-02-15 14:04:10,965 +0100 ERROR sendemail:417 - 'NoneType' object has no attribute 'get_issuer' while sending mail to: recipient@domain.com

Where is the best way to troubleshoot this issue?

Email Setting are done properly with username and password, SSL enabled.
alt text

Sending from the splunk server using openssl is working without any problems.

0 Karma

klaxdal
Contributor

Try this from search .

index=_internal | head 1 | sendemail to="recipient@domain.com" format="html" server=mail-relay.domain.com:465 use_ssl=1

0 Karma

zugji
Path Finder

Same error as above in the question.

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...