Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

sendemail via SMTP relay server

$
0
0
Hi, I'm trying to send emails via a SMTP relay server. No authentication is needed and no encryption is supported. I added the following **[sendemail]** command to my **/opt/splunk/etc/apps/search/local/commands.conf**: [sendemail] filename = sendemail.py streaming = false run_in_preview = false passauth = false required_fields = changes_colorder = false supports_rawargs = true undo_scheduler_escaping = true is_risky = true supports_multivalues = true use_ssl = false use_tls = false from = server = : When I try a search `* | head 1 | sendemail to=""`, then in the **/opt/splunk/var/log/splunk/python.log** occurs the error `ERROR sendemail:1341 - 'namespace'`. Another application (not splunk) successfully sends emails via this relay server. I don't find other configuration parameters in the documentation[1], that may help. Any suggestions what I have missed? Thanks Frank [1]: https://docs.splunk.com/Documentation/Splunk/7.3.0/SearchReference/Sendemail

Viewing all articles
Browse latest Browse all 47296

Trending Articles