<?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: Sendmail - [Errno 101] Network is unreachable while sending mail in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Sendmail-Errno-101-Network-is-unreachable-while-sending-mail/m-p/445196#M172373</link>
    <description>&lt;P&gt;I would start with your network/comms team - if you have perimeter firewalls blocking ports, they will likely have to make the changes to allow your traffic to flow.&lt;/P&gt;

&lt;P&gt;I think debian uses firewalld, but I'm more of an RHEL guy!&lt;/P&gt;</description>
    <pubDate>Wed, 20 Mar 2019 10:32:59 GMT</pubDate>
    <dc:creator>nickhills</dc:creator>
    <dc:date>2019-03-20T10:32:59Z</dc:date>
    <item>
      <title>Sendmail - [Errno 101] Network is unreachable while sending mail</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Sendmail-Errno-101-Network-is-unreachable-while-sending-mail/m-p/445193#M172370</link>
      <description>&lt;P&gt;I'm trying to use sendmail command with the gmail smtp server. &lt;/P&gt;

&lt;P&gt;I use the "Search &amp;amp; Reporting" App to apply the following search: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=nbtktfed sourcetype="nbtktfed.err" status=ERROR 
| stats count
| sendemail server="smtp.gmail.com:465" to="ros.clement@gmail.com" sendresults=true subject="Test mail" message="This message is send with the sendmail command of splunk" use_tls=true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This command return the following error in GUI : &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;command="sendemail", [Errno 101] Network is unreachable while sending mail to: ros.clement@gmail.com 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My serveur is able to ping the "smtp.gmail.com" server. But when i tried to execute a telnet this return "Network is unreachable".&lt;/P&gt;

&lt;P&gt;Here is my Server setting &amp;gt; Email settings configuration : &lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/6722iD78677B228964EE4/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2019 09:22:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Sendmail-Errno-101-Network-is-unreachable-while-sending-mail/m-p/445193#M172370</guid>
      <dc:creator>clementros</dc:creator>
      <dc:date>2019-03-20T09:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail - [Errno 101] Network is unreachable while sending mail</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Sendmail-Errno-101-Network-is-unreachable-while-sending-mail/m-p/445194#M172371</link>
      <description>&lt;P&gt;Are you certain there are no firewalls (local or network) preventing traffic leaving your network on the mail port?&lt;/P&gt;

&lt;P&gt;If you are in an enterprise, its quite common for outbound email ports to be blocked&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2019 10:05:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Sendmail-Errno-101-Network-is-unreachable-while-sending-mail/m-p/445194#M172371</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2019-03-20T10:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail - [Errno 101] Network is unreachable while sending mail</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Sendmail-Errno-101-Network-is-unreachable-while-sending-mail/m-p/445195#M172372</link>
      <description>&lt;P&gt;HI @nickhillscpl, &lt;/P&gt;

&lt;P&gt;I have a virtual machine (CentOS 7) wich i'm sure the firewalld service is stop and disable. &lt;/P&gt;

&lt;P&gt;On this VM i have a docker container (Debian 9) with splunk entreprise. When i run the command "iptables -L" debian say "iptables command not found".&lt;/P&gt;

&lt;P&gt;Is there another firewall on Debian 9 ? &lt;/P&gt;

&lt;P&gt;If outbound email ports are blocked, how can i test sendmail on local ? &lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2019 10:26:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Sendmail-Errno-101-Network-is-unreachable-while-sending-mail/m-p/445195#M172372</guid>
      <dc:creator>clementros</dc:creator>
      <dc:date>2019-03-20T10:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail - [Errno 101] Network is unreachable while sending mail</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Sendmail-Errno-101-Network-is-unreachable-while-sending-mail/m-p/445196#M172373</link>
      <description>&lt;P&gt;I would start with your network/comms team - if you have perimeter firewalls blocking ports, they will likely have to make the changes to allow your traffic to flow.&lt;/P&gt;

&lt;P&gt;I think debian uses firewalld, but I'm more of an RHEL guy!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2019 10:32:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Sendmail-Errno-101-Network-is-unreachable-while-sending-mail/m-p/445196#M172373</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2019-03-20T10:32:59Z</dc:date>
    </item>
  </channel>
</rss>

