<?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: How to troubleshoot why we are getting sendemail error &amp;quot;Connection closed unexpectedly&amp;quot; on test email? in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/How-to-troubleshoot-why-we-are-getting-sendemail-error-quot/m-p/207114#M4395</link>
    <description>&lt;P&gt;I was able to Telnet to port 25 with that Virtual name so that led me away SSL being the issue. I also was able to use a local relay smtp server and it worked fine also (On the non SSL bound splunk box).&lt;/P&gt;

&lt;P&gt;This is 100% Local (no internet). &lt;/P&gt;

&lt;P&gt;Thank you for your help! &lt;/P&gt;</description>
    <pubDate>Fri, 05 Aug 2016 20:21:26 GMT</pubDate>
    <dc:creator>Jarohnimo</dc:creator>
    <dc:date>2016-08-05T20:21:26Z</dc:date>
    <item>
      <title>How to troubleshoot why we are getting sendemail error "Connection closed unexpectedly" on test email?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-troubleshoot-why-we-are-getting-sendemail-error-quot/m-p/207111#M4392</link>
      <description>&lt;P&gt;I have 1 working Splunk box with SMTP. It is SSL Bound ( I did not set this box up). I have 1 more Splunk Box that isn't SSL bound and the SMTP isn't working ( I set this one up). When I try to send a email from a dashboard perhaps. Upon sending the test email it states:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Sending the test email failed: command="sendemail", Connection unexpectedly closed while sending mail to: someone@johndoe.com
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I understand this very well maybe an issue with my environment either accepting on not accepting connections coming from a http vs https. I have the exact same SMTP server information in both servers. GUI &amp;gt; Settings &amp;gt; System Settings &amp;gt; Email Settings. I placed the host a name of the smtp vip (there's many smtp servers behind it). for example SMTP.Whatever.com &lt;/P&gt;

&lt;P&gt;It works for the original box, but no luck on the new box. I'm unsure of where to go from here as I have found many people with this issue. I don't know enough about Splunk to understand what the source of the problem is? Is it Splunk not happy or the SMTP server? If so I wonder what I have to do to mitigate....&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2016 17:15:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-troubleshoot-why-we-are-getting-sendemail-error-quot/m-p/207111#M4392</guid>
      <dc:creator>Jarohnimo</dc:creator>
      <dc:date>2016-08-05T17:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why we are getting sendemail error "Connection closed unexpectedly" on test email?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-troubleshoot-why-we-are-getting-sendemail-error-quot/m-p/207112#M4393</link>
      <description>&lt;P&gt;If your SMTP server only accepts SSL connections, you won't be able to connect to it with an unencrypted connection. Do you know your email provider details?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2016 19:17:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-troubleshoot-why-we-are-getting-sendemail-error-quot/m-p/207112#M4393</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2016-08-05T19:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why we are getting sendemail error "Connection closed unexpectedly" on test email?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-troubleshoot-why-we-are-getting-sendemail-error-quot/m-p/207113#M4394</link>
      <description>&lt;P&gt;Looks like I found out my own answer again..&lt;/P&gt;

&lt;P&gt;This wasn't an SSL problem, This wasn't a Splunk Problem. This was an SMTP exception problem. The Team managing the SMTP Virtual name/ Servers needs to add your host name to the exceptions list allowing that server the ability to send outbound email.&lt;/P&gt;

&lt;P&gt;your other options are getting a SMTP relay server setup where you can use that one Box (usually one of the server u manage) to send out the emails on your behalf (Opposed to the virtual name) downfall with this is it's a single point of failure where a Load Balanced SMTP virtual name... usually has more than one subnet represented its disaster recovery ready.&lt;/P&gt;

&lt;P&gt;The last option is to setup Splunk as an SMTP server or another server locally that you manage.&lt;/P&gt;

&lt;P&gt;If you work in an Enterprise or for a Gov. It's better and easier if you work this through your exchange team so that you have high availability with your email. &lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2016 20:17:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-troubleshoot-why-we-are-getting-sendemail-error-quot/m-p/207113#M4394</guid>
      <dc:creator>Jarohnimo</dc:creator>
      <dc:date>2016-08-05T20:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why we are getting sendemail error "Connection closed unexpectedly" on test email?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-troubleshoot-why-we-are-getting-sendemail-error-quot/m-p/207114#M4395</link>
      <description>&lt;P&gt;I was able to Telnet to port 25 with that Virtual name so that led me away SSL being the issue. I also was able to use a local relay smtp server and it worked fine also (On the non SSL bound splunk box).&lt;/P&gt;

&lt;P&gt;This is 100% Local (no internet). &lt;/P&gt;

&lt;P&gt;Thank you for your help! &lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2016 20:21:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-troubleshoot-why-we-are-getting-sendemail-error-quot/m-p/207114#M4395</guid>
      <dc:creator>Jarohnimo</dc:creator>
      <dc:date>2016-08-05T20:21:26Z</dc:date>
    </item>
  </channel>
</rss>

