All Apps and Add-ons

email alerts with google apps

cmeo
Contributor

Hi all,

We use google apps in the office and it requires ssl/tls. Splunk sendemail.py does not seem to be able to cope with this; does anyone else have email alerts working with google apps, and if so, how?

We're running splunk on linux so I suppose configuring a local MTA is an option, but this seems like a lot of apparatus. We've only just finished turning off all the internal mail servers 🙂

Tags (1)
0 Karma

gkanapathy
Splunk Employee
Splunk Employee

You could edit and modify (or replace with a new script) sendemail.py, but really, a local anonymous MTA is probably easiest. It's not actually very much work at all on Linux/Unix type platforms, as they'll have postfix or sendmail available. All you'd need to do it configure them to forward on to your google mail servers. (I have this set up on my own Mac, using postfix with gmail, and ) I haven't configured the Windows SMTP server in recent versions, but it you should also be able to be enable and configure it to do the same pretty simply.

Please see: http://answers.splunk.com/questions/1017/how-to-use-smtp-auth-for-action-email-mailserver-emails and the links referenced from there, or otherwise search the web for "gmail outbound smtp relay", as this appears to be a common requirement.

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...