Sendemail Command


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"

Tags (2)
0 Karma


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