Splunk Search

Sendemail Command

bnerella
Engager

I was trying to send a search result of mine in splunk to my email at work, but received this message. Please I need advice. Below was the error message that was displayed.Thanks

"command="sendemail", [Errno 10061] No connection could be made because the target machine actively refused it while sending mail to:alliswah@yahoo.com"

Tags (2)
0 Karma

MuS
Legend

Hi bnerella,

this means that the sendemail script was not able to use your mailserver. The sendemail script uses by default localhost as mailserver (set by argument server= ). This can have multiple reasons like firewall blocking or mail server refusing to accept your request or no email process/server running on localhost. Check with your network/mailserver admin.

hope this helps ...

cheers, MuS

Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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