<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: email not sending from windows search head in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/email-not-sending-from-windows-search-head/m-p/130842#M26900</link>
    <description>&lt;P&gt;Not sure what version you are using in Splunk, but in any case, just look in the $SPLUNK_HOME/var/log/splunk/splunkd.log for clues.&lt;/P&gt;</description>
    <pubDate>Fri, 29 May 2015 15:49:29 GMT</pubDate>
    <dc:creator>dmaislin_splunk</dc:creator>
    <dc:date>2015-05-29T15:49:29Z</dc:date>
    <item>
      <title>email not sending from windows search head</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/email-not-sending-from-windows-search-head/m-p/130839#M26897</link>
      <description>&lt;H1&gt;From splunkd.log&lt;/H1&gt;

&lt;PRE&gt;&lt;CODE&gt;05-29-2015 07:53:02.696 -0700 ERROR HttpListener - Handler for /en-US/api/shelper?snippet=true&amp;amp;snippetEmbedJS=false&amp;amp;namespace=search&amp;amp;search=search+sourcetype%3Dt2_app+OR+sourcetype%3Ddis+iview2+%22%3Fdoc%3D%22+OR+%22%26doc%3D%22+%7C++timechart+span%3D1h+count+by+host+%7C+sendemail+to%3D%22tyrone.vaughn%40transcentra.com%22&amp;amp;useTypeahead=true&amp;amp;useAssistant=true&amp;amp;showCommandHelp=true&amp;amp;showCommandHistory=true&amp;amp;showFieldInfo=false&amp;amp;_=1432911162651 sent a 0 byte response after earlier claiming a Content-Length of 2160!
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;=============&lt;BR /&gt;
This was working until recently.  No changes that I am aware of on the machine or the environment, but I can't send email out any more.   Above is the log entry when I execute that search from the interface. The interfaces responds with &lt;CODE&gt;No connection could be made because the target machine actively refused it while sending mail to: (my email address)&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;I can send email from Powershell using:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; $EmailFrom = "(source address)"
 $EmailTo = "(my address, same as above)"
 $Subject = "Test from CLI"
 $Body = "Testing.. 1 2 3"
 $SMTPServer = "(my relay, same one in Splunk config)
 $SMTPClient =  New-Object Net.Mail.SmtpClient($SMTPServer, 25)
 $SMTPClient.Send($EmailFrom, $EmailTo, $Subject, $Body)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So I don't think it is a machine issue.&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2015 15:11:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/email-not-sending-from-windows-search-head/m-p/130839#M26897</guid>
      <dc:creator>tyronetv</dc:creator>
      <dc:date>2015-05-29T15:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: email not sending from windows search head</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/email-not-sending-from-windows-search-head/m-p/130840#M26898</link>
      <description>&lt;P&gt;Do a test alert email preview from the UI, and check your splunkd.log&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2015 15:30:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/email-not-sending-from-windows-search-head/m-p/130840#M26898</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2015-05-29T15:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: email not sending from windows search head</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/email-not-sending-from-windows-search-head/m-p/130841#M26899</link>
      <description>&lt;P&gt;"test alert email preview"  Could you explain that to me?&lt;/P&gt;

&lt;P&gt;I did do an attempted send via "sendemail" from the search line and received the same errors. &lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2015 15:45:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/email-not-sending-from-windows-search-head/m-p/130841#M26899</guid>
      <dc:creator>tyronetv</dc:creator>
      <dc:date>2015-05-29T15:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: email not sending from windows search head</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/email-not-sending-from-windows-search-head/m-p/130842#M26900</link>
      <description>&lt;P&gt;Not sure what version you are using in Splunk, but in any case, just look in the $SPLUNK_HOME/var/log/splunk/splunkd.log for clues.&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2015 15:49:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/email-not-sending-from-windows-search-head/m-p/130842#M26900</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2015-05-29T15:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: email not sending from windows search head</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/email-not-sending-from-windows-search-head/m-p/130843#M26901</link>
      <description>&lt;P&gt;See above.  I included a splunkd.log output.&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2015 16:00:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/email-not-sending-from-windows-search-head/m-p/130843#M26901</guid>
      <dc:creator>tyronetv</dc:creator>
      <dc:date>2015-05-29T16:00:03Z</dc:date>
    </item>
  </channel>
</rss>

