Dashboards & Visualizations

How to change the default sendemail server other than editing sendemail.py?

ben363
Path Finder

Is there a way (apart from editing sendemail.py) to change the default server that sendemail uses?

A glance at sendemail.py suggests not...

0 Karma

woodcock
Esteemed Legend

On the Search Head: Settings -> Server settings -> Email settings.

ben363
Path Finder

That works for saved searches.

Doesn't work for searches from the command line.

0 Karma

ben363
Path Finder

There is an entry for Mail host under System settings >> Email alert settings >> Mail host

Why this isn't also applicable to sendemail is a mystery to me. Feels like a bug.

MuS
SplunkTrust
SplunkTrust

Because it could be over written by a Splunk update without telling you and by going @woodcock 's way you configure the setting persistent in alert_actions.conf

ben363
Path Finder

That works for saved searches.

Doesn't work for searches from the command line.

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