<?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: Sendemail no longer working since upgrade in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Getting-permissions-error-with-sendemail-after-upgrading-from-7/m-p/509398#M8244</link>
    <description>&lt;P&gt;Thanks for&amp;nbsp; the link , somehow doubt that is the issue since i can use pretty much the same settings to send an email using powershell/python . Oh well search continues...&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jul 2020 20:31:13 GMT</pubDate>
    <dc:creator>ng87</dc:creator>
    <dc:date>2020-07-15T20:31:13Z</dc:date>
    <item>
      <title>Getting permissions error with 'sendemail' after upgrading from 7 to 8.</title>
      <link>https://community.splunk.com/t5/Reporting/Getting-permissions-error-with-sendemail-after-upgrading-from-7/m-p/509039#M8229</link>
      <description>&lt;P&gt;Hi all&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I recently upgraded my Splunk instance to version 8.x (whatever the newest one was a week ago). I reconfigured pretty much everything as I had it before&amp;nbsp; (on v7.x) and I have noticed I can no longer get my email notification to work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using exactly the same settings for email as I used in version 7 but with version 8 I get these error messages :&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ERROR sendemail:475 - (550, '5.7.60 SMTP; Client does not have permissions to send as this sender') while sending mail to: nick.xxxxx@xxxxxx.xxx&lt;/LI-CODE&gt;
&lt;P&gt;I have configured Splunk to use our local exchange server for sending emails and its set to send emails as my self to myself. I have the correct settings/ports for TLS and the auth part, I have verified these settings using powershell and another python script and they both work, it's just Splunk that doesn't work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suspect that something is being changed when the sendemail attempt happens but I cannot see anything in the logs to see exactly what is being sent.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Any ideas on how to troubleshoot?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looked in the splunkd.log and nothing really more than the above...&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 19:35:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Getting-permissions-error-with-sendemail-after-upgrading-from-7/m-p/509039#M8229</guid>
      <dc:creator>ng87</dc:creator>
      <dc:date>2020-07-16T19:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sendemail no longer working since upgrade</title>
      <link>https://community.splunk.com/t5/Reporting/Getting-permissions-error-with-sendemail-after-upgrading-from-7/m-p/509146#M8231</link>
      <description>&lt;P class="lia-align-justify"&gt;What is a command which you are using for sending those test mail or is it an alert?&lt;/P&gt;&lt;P class="lia-align-justify"&gt;Another log which could told more is python.log.&lt;/P&gt;&lt;P class="lia-align-justify"&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2020 22:16:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Getting-permissions-error-with-sendemail-after-upgrading-from-7/m-p/509146#M8231</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-07-14T22:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sendemail no longer working since upgrade</title>
      <link>https://community.splunk.com/t5/Reporting/Getting-permissions-error-with-sendemail-after-upgrading-from-7/m-p/509201#M8232</link>
      <description>&lt;P&gt;It's a scheduled report that i am trying to send. Sadly python log did not have anything more usefull&lt;/P&gt;&lt;P&gt;2020-07-14 09:35:07,062 +0000 ERROR sendemail:142 - Sending email. subject="Splunk Report:&amp;nbsp; xxxx", results_link="&lt;A href="http://10.21.56.47:8000/app/search/@go?sid=scheduler__admin__search__RMD5141fe5c68308f17b_at_1594719300_8" target="_blank"&gt;http://10.21.56.47:8000/app/search/@go?sid=scheduler__admin__search__RMD5141fe5c68308f17b_at_1594719300_8&lt;/A&gt;", recipients="[u'xxxxx@xxxxxx']", server="xxxxxxxxxxxxx"&lt;BR /&gt;2020-07-14 09:35:07,062 +0000 ERROR sendemail:475 - (550, '5.7.60 SMTP; Client does not have permissions to send as this sender') while sending mail to: xxxxxxxxxxxxxxxx&lt;BR /&gt;2020-07-14 09:40:02,720 +0000 INFO sendemail:1162 - sendemail pdfgen_available = 1&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 08:31:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Getting-permissions-error-with-sendemail-after-upgrading-from-7/m-p/509201#M8232</guid>
      <dc:creator>ng87</dc:creator>
      <dc:date>2020-07-15T08:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sendemail no longer working since upgrade</title>
      <link>https://community.splunk.com/t5/Reporting/Getting-permissions-error-with-sendemail-after-upgrading-from-7/m-p/509368#M8237</link>
      <description>&lt;P&gt;This seems to be somehow SMTP server side issue. Can you check if this helps:&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Archive/How-to-send-alerts-via-SMTP-to-O365/td-p/293513" target="_blank"&gt;https://community.splunk.com/t5/Archive/How-to-send-alerts-via-SMTP-to-O365/td-p/293513&lt;/A&gt;&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 18:19:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Getting-permissions-error-with-sendemail-after-upgrading-from-7/m-p/509368#M8237</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-07-15T18:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sendemail no longer working since upgrade</title>
      <link>https://community.splunk.com/t5/Reporting/Getting-permissions-error-with-sendemail-after-upgrading-from-7/m-p/509398#M8244</link>
      <description>&lt;P&gt;Thanks for&amp;nbsp; the link , somehow doubt that is the issue since i can use pretty much the same settings to send an email using powershell/python . Oh well search continues...&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 20:31:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Getting-permissions-error-with-sendemail-after-upgrading-from-7/m-p/509398#M8244</guid>
      <dc:creator>ng87</dc:creator>
      <dc:date>2020-07-15T20:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sendemail no longer working since upgrade</title>
      <link>https://community.splunk.com/t5/Reporting/Getting-permissions-error-with-sendemail-after-upgrading-from-7/m-p/509578#M8250</link>
      <description>&lt;P&gt;Does the command sendemail from GUI working?&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 19:09:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Getting-permissions-error-with-sendemail-after-upgrading-from-7/m-p/509578#M8250</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-07-16T19:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sendemail no longer working since upgrade</title>
      <link>https://community.splunk.com/t5/Reporting/Getting-permissions-error-with-sendemail-after-upgrading-from-7/m-p/509663#M8251</link>
      <description>&lt;P&gt;Well it works in the way that it actually runs and i still get the same error :&lt;/P&gt;&lt;P&gt;command="sendemail", (550, '5.7.60 SMTP; Client does not have permissions to send as this sender') while sending mail to: &lt;A href="mailto:nick.giannoulis@xxxxxx.com" target="_blank"&gt;nick.giannoulis@xxxxxx.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Time to get wireshark out and see if i can spot the issue.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 08:07:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Getting-permissions-error-with-sendemail-after-upgrading-from-7/m-p/509663#M8251</guid>
      <dc:creator>ng87</dc:creator>
      <dc:date>2020-07-17T08:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sendemail no longer working since upgrade</title>
      <link>https://community.splunk.com/t5/Reporting/Getting-permissions-error-with-sendemail-after-upgrading-from-7/m-p/509677#M8252</link>
      <description>&lt;P&gt;Ok this has got weird now. Rebooted and now i can send emails via the 'command line' in the gui but not the automated way.&lt;/P&gt;&lt;P&gt;Example :&lt;/P&gt;&lt;P&gt;index=* | head 10 | sendemail to="nick.giannoulis@xxxx.com" from="nick.giannoulis@xxxx.com" subject="test" server="imapoutgoing.xxxxxxxxx.net:587" use_tls=true&lt;/P&gt;&lt;P&gt;This works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My scheduled report still does not work though.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The settings i have put in at Settings | Server Settings | Emails settings are the same as above :&lt;/P&gt;&lt;P&gt;Maihost : imapoutgoing.xxxxxxx.net:587&amp;nbsp; &amp;nbsp;| Enable TLS&lt;/P&gt;&lt;P&gt;Send email as :&amp;nbsp;&lt;A href="mailto:nick.giannoulis@xxxx.com" target="_blank"&gt;nick.giannoulis@xxxx.com&lt;/A&gt;&amp;nbsp; &amp;nbsp;( copy &amp;amp; paste from the above just in case )&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the error from the logs :&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t"&gt;07-17-2020&lt;/SPAN&gt; &lt;SPAN class="t"&gt;11:30:04.296&lt;/SPAN&gt;&lt;SPAN&gt; +&lt;/SPAN&gt;&lt;SPAN class="t"&gt;0100&lt;/SPAN&gt; &lt;SPAN class="t"&gt;ERROR&lt;/SPAN&gt; &lt;SPAN class="t"&gt;ScriptRunner&lt;/SPAN&gt; &lt;SPAN class="t"&gt;-&lt;/SPAN&gt; &lt;SPAN class="t"&gt;stderr&lt;/SPAN&gt; &lt;SPAN class="t"&gt;from&lt;/SPAN&gt;&lt;SPAN&gt; '&lt;/SPAN&gt;&lt;SPAN class="t"&gt;C:\Program&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Files\Splunk\bin\Python2.exe&lt;/SPAN&gt; &lt;SPAN class="t"&gt;C:\Program&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Files\Splunk\etc\apps\search\bin\sendemail.py&lt;/SPAN&gt;&lt;SPAN&gt; "&lt;/SPAN&gt;&lt;SPAN class="t"&gt;results_link=&lt;A href="http://10.21.56.47:8000/app/search/@go" target="_blank"&gt;http://10.21.56.47:8000/app/search/@go&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;SPAN class="t"&gt;sid=scheduler__admin__search__RMD5141fe5c68308f17b_at_1594981800_1&lt;/SPAN&gt;&lt;SPAN&gt;" "&lt;/SPAN&gt;&lt;SPAN class="t"&gt;ssname=Joe_Report&lt;/SPAN&gt;&lt;SPAN&gt;" "&lt;/SPAN&gt;&lt;SPAN class="t"&gt;graceful=True&lt;/SPAN&gt;&lt;SPAN&gt;" "&lt;/SPAN&gt;&lt;SPAN class="t"&gt;trigger_time=1594981800&lt;/SPAN&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;SPAN class="t"&gt;results_file=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;C:\Program&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Files\Splunk\var\run\splunk\dispatch\scheduler__admin__search__RMD5141fe5c68308f17b_at_1594981800_1\results.srs.zst&lt;/SPAN&gt;&lt;SPAN&gt;" "&lt;/SPAN&gt;&lt;SPAN class="t"&gt;is_stream_malert=False&lt;/SPAN&gt;&lt;SPAN&gt;"'&lt;/SPAN&gt;&lt;SPAN class="t"&gt;:&lt;/SPAN&gt; &lt;SPAN class="t"&gt;ERROR:root:&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class="t"&gt;550&lt;/SPAN&gt;&lt;SPAN&gt;, '&lt;/SPAN&gt;&lt;SPAN class="t"&gt;5.7.60&lt;/SPAN&gt; &lt;SPAN class="t"&gt;SMTP&lt;/SPAN&gt;&lt;SPAN&gt;; &lt;/SPAN&gt;&lt;SPAN class="t"&gt;Client&lt;/SPAN&gt; &lt;SPAN class="t"&gt;does&lt;/SPAN&gt; &lt;SPAN class="t"&gt;not&lt;/SPAN&gt; &lt;SPAN class="t"&gt;have&lt;/SPAN&gt; &lt;SPAN class="t"&gt;permissions&lt;/SPAN&gt; &lt;SPAN class="t"&gt;to&lt;/SPAN&gt; &lt;SPAN class="t"&gt;send&lt;/SPAN&gt; &lt;SPAN class="t"&gt;as&lt;/SPAN&gt; &lt;SPAN class="t"&gt;this&lt;/SPAN&gt; &lt;SPAN class="t"&gt;sender&lt;/SPAN&gt;&lt;SPAN&gt;') &lt;/SPAN&gt;&lt;SPAN class="t"&gt;while&lt;/SPAN&gt; &lt;SPAN class="t"&gt;sending&lt;/SPAN&gt; &lt;SPAN class="t"&gt;mail&lt;/SPAN&gt; &lt;SPAN class="t"&gt;to:&lt;/SPAN&gt; &lt;SPAN class="t"&gt;&lt;SPAN class="t a"&gt;nick.giannoulis&lt;/SPAN&gt;@xxxxxxxxx.com&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 10:40:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Getting-permissions-error-with-sendemail-after-upgrading-from-7/m-p/509677#M8252</guid>
      <dc:creator>ng87</dc:creator>
      <dc:date>2020-07-17T10:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sendemail no longer working since upgrade</title>
      <link>https://community.splunk.com/t5/Reporting/Getting-permissions-error-with-sendemail-after-upgrading-from-7/m-p/509795#M8255</link>
      <description>&lt;P&gt;Is your windows version supported by Splunk for 8.x.x?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 20:45:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Getting-permissions-error-with-sendemail-after-upgrading-from-7/m-p/509795#M8255</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-07-17T20:45:54Z</dc:date>
    </item>
  </channel>
</rss>

