<?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: Using a different email address to send email responses using adaptive response action in Splunk Enterprise Security</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445738#M6086</link>
    <description>&lt;P&gt;If you use Splunk Web then click on &lt;CODE&gt;Settings-&amp;gt;Saved Searches-&amp;gt; &amp;lt;Alert Name&amp;gt;-&amp;gt; Edit -&amp;gt; Advanced Edit&lt;/CODE&gt; and override &lt;CODE&gt;action.email.from&lt;/CODE&gt;, by default &lt;CODE&gt;Defaults to splunk@&amp;lt;LOCALHOST&amp;gt; (or whatever is set in alert_actions.conf).&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Dec 2018 11:48:04 GMT</pubDate>
    <dc:creator>harsmarvania57</dc:creator>
    <dc:date>2018-12-27T11:48:04Z</dc:date>
    <item>
      <title>Using a different email address to send email responses using adaptive response action</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445734#M6082</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I have a use case where I want to send replies using a separate email address than the default address of Splunk. What I'm trying to achieve is :&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;I have a sourcetype, and from its logs I have a field called "User email"&lt;/LI&gt;
&lt;LI&gt; I want to send individual automatic responses to the email addresses present in the field.&lt;/LI&gt;
&lt;LI&gt;The default email id for my Splunk solution is &lt;A href="mailto:abc_splunk@mycompany.com"&gt;abc_splunk@mycompany.com&lt;/A&gt;. But I do not want to send the replies using this email address. I want to use &lt;A href="mailto:informationawareness@mycompany.com"&gt;informationawareness@mycompany.com&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt; I would like to use &lt;A href="mailto:informationawareness@mycompany.com"&gt;informationawareness@mycompany.com&lt;/A&gt; for this particular set of data "User email" and the sourcetype only. All the other emails should go using the default id  &lt;A href="mailto:abc_splunk@mycompany.com"&gt;abc_splunk@mycompany.com&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt; I have the basic SMTP settings for the mailbox server of &lt;A href="mailto:informationawareness@mycompany.com"&gt;informationawareness@mycompany.com&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;I want to know in which configuration files do I have to make the change in order to achieve my goal.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Any help will be highly appreciated.&lt;BR /&gt;
Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 26 Dec 2018 16:10:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445734#M6082</guid>
      <dc:creator>shiv1593</dc:creator>
      <dc:date>2018-12-26T16:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using a different email address to send email responses using adaptive response action</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445735#M6083</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;try using &lt;CODE&gt;sendemail&lt;/CODE&gt; command with custom from.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 05:24:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445735#M6083</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-12-27T05:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using a different email address to send email responses using adaptive response action</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445736#M6084</link>
      <description>&lt;P&gt;Hi p_gurav,&lt;/P&gt;

&lt;P&gt;Tried that. Doesn't work. I guess it has something to do with the configuration of the mail I'm trying to use. Unless I open the port on my search head and the mailbox server, and establish the basic SMTP connection, I won't be able to use it. Just wanted to figure out where should I put those SMTP settings in Splunk, I mean inside which configuration file. And how ill that stanze be designed in order to get it executed.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 07:35:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445736#M6084</guid>
      <dc:creator>shiv1593</dc:creator>
      <dc:date>2018-12-27T07:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using a different email address to send email responses using adaptive response action</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445737#M6085</link>
      <description>&lt;P&gt;Is SMTP servers for &lt;A href="mailto:abc_splunk@mycompany.com" target="_blank"&gt;abc_splunk@mycompany.com&lt;/A&gt; and  &lt;A href="mailto:informationawareness@mycompany.com" target="_blank"&gt;informationawareness@mycompany.com&lt;/A&gt; is different? Normally splunk used  alert_actions.conf for storing this configurations.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:32:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445737#M6085</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2020-09-29T22:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using a different email address to send email responses using adaptive response action</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445738#M6086</link>
      <description>&lt;P&gt;If you use Splunk Web then click on &lt;CODE&gt;Settings-&amp;gt;Saved Searches-&amp;gt; &amp;lt;Alert Name&amp;gt;-&amp;gt; Edit -&amp;gt; Advanced Edit&lt;/CODE&gt; and override &lt;CODE&gt;action.email.from&lt;/CODE&gt;, by default &lt;CODE&gt;Defaults to splunk@&amp;lt;LOCALHOST&amp;gt; (or whatever is set in alert_actions.conf).&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 11:48:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445738#M6086</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-12-27T11:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using a different email address to send email responses using adaptive response action</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445739#M6087</link>
      <description>&lt;P&gt;Yes, both of them have different SMTP relay servers. I thought about the alert_actions.conf file, just am not sure on how to edit it to use just for this particular alert, and leave the default ID for the rest of the things.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 12:36:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445739#M6087</guid>
      <dc:creator>shiv1593</dc:creator>
      <dc:date>2018-12-27T12:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using a different email address to send email responses using adaptive response action</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445740#M6088</link>
      <description>&lt;P&gt;Hi Harsh,&lt;/P&gt;

&lt;P&gt;Tried that. Doesn't work since the SMTP server and settings of the mail id that I want trigger the alert from, &lt;A href="mailto:informationawareness@mycompany.com"&gt;informationawareness@mycompany.com&lt;/A&gt;, are different. From what I figure, I may need to specify the settings of the mail ID within my search head, so that Splunk reads and uses it for this particular alert, which is giving me the field "User email", and use the email addresses present inside the field and reply to them individually. I want all of the other emails going from Splunk using the default ID itself.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 12:43:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445740#M6088</guid>
      <dc:creator>shiv1593</dc:creator>
      <dc:date>2018-12-27T12:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using a different email address to send email responses using adaptive response action</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445741#M6089</link>
      <description>&lt;P&gt;So based on your comment, I am assuming that you are running single schedule search which has &lt;CODE&gt;User Email&lt;/CODE&gt; field and you want to send email to all those email id but you want different &lt;CODE&gt;from email address&lt;/CODE&gt; for certain users(email id) only ??&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 12:46:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445741#M6089</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-12-27T12:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using a different email address to send email responses using adaptive response action</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445742#M6090</link>
      <description>&lt;P&gt;Correct. I am running a scheduled search, which triggers conditions per event, picks out an email address from the User email field, and sends it a pre-drafted email. It does the same for all the email addresses which are produced when the search runs. But for this particular search, I want to use a different "from email address", which would be &lt;A href="mailto:informationawareness@mycompany.com" target="_blank"&gt;informationawareness@mycompany.com&lt;/A&gt;, instead of the default email address of Splunk, which in my case is &lt;A href="mailto:abc_splunk@mycompany.com" target="_blank"&gt;abc_splunk@mycompany.com&lt;/A&gt;. I want all of my other searches to use the default email address of splunk, which is &lt;A href="mailto:abc_splunk@mycompany.com" target="_blank"&gt;abc_splunk@mycompany.com&lt;/A&gt;, like they are doing as of now. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:32:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445742#M6090</guid>
      <dc:creator>shiv1593</dc:creator>
      <dc:date>2020-09-29T22:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using a different email address to send email responses using adaptive response action</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445743#M6091</link>
      <description>&lt;P&gt;Hi shiv1593,&lt;/P&gt;

&lt;P&gt;Give try to this with ;&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;&lt;CODE&gt;sendemail&lt;/CODE&gt; command where you can specify multiple from and different SMTP servers:&lt;/P&gt;

&lt;P&gt;&lt;YOUR search=""&gt; | sendemail from="&lt;A href="mailto:informationawareness@mycompany.com"&gt;informationawareness@mycompany.com&lt;/A&gt;" server=(SMTP server host)&lt;/YOUR&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Note: Make sure the connectivity between splunk server and SMTP server&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Edit &lt;CODE&gt;savedsearches.conf&lt;/CODE&gt; and specify &lt;CODE&gt;action.email.mailserver&lt;/CODE&gt; attribute to this saved search.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Fri, 28 Dec 2018 04:05:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445743#M6091</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-12-28T04:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using a different email address to send email responses using adaptive response action</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445744#M6092</link>
      <description>&lt;P&gt;Can you please share your alert_actions.conf and savedsearch.conf for that particular search (Please mask/alter any sensitive data) from Search Head?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 09:04:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445744#M6092</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-12-28T09:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using a different email address to send email responses using adaptive response action</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445745#M6093</link>
      <description>&lt;P&gt;Hi p_gurav,&lt;/P&gt;

&lt;P&gt;This seems intriguing. I will try and implement this and let you know my findings.&lt;/P&gt;

&lt;P&gt;Thank you very much&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 10:31:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445745#M6093</guid>
      <dc:creator>shiv1593</dc:creator>
      <dc:date>2018-12-28T10:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using a different email address to send email responses using adaptive response action</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445746#M6094</link>
      <description>&lt;P&gt;If you are using Splunk ES and adaptive response of the Email, one approach  [ not a clean one] would be to have 1 correlation search for specific host for informationawareness and another correlation search for rest of them and update the action.email.mailserver, it should still work.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 17:01:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445746#M6094</guid>
      <dc:creator>lakshman239</dc:creator>
      <dc:date>2019-01-09T17:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using a different email address to send email responses using adaptive response action</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445747#M6095</link>
      <description>&lt;P&gt;Hi Harsh,&lt;/P&gt;

&lt;P&gt;Sorry for such a delay in response. Here is the savedsearch.conf.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[My_Search]&lt;BR /&gt;
action.email = 1&lt;BR /&gt;
action.email.include.search = 1&lt;BR /&gt;
action.email.include.view_link = 0&lt;BR /&gt;
action.email.inline = 1&lt;BR /&gt;
action.email.sendcsv = 1&lt;BR /&gt;
action.email.sendpdf = 1&lt;BR /&gt;
action.email.sendresults = 1&lt;BR /&gt;
action.email.to = senders&lt;BR /&gt;
action.email.useNSSubject = 1&lt;BR /&gt;
action.keyindicator.invert = 0&lt;BR /&gt;
action.makestreams.param.verbose = 0&lt;BR /&gt;
action.nbtstat.param.verbose = 0&lt;BR /&gt;
action.notable.param.verbose = 0&lt;BR /&gt;
action.nslookup.param.verbose = 0&lt;BR /&gt;
action.ping.param.verbose = 0&lt;BR /&gt;
action.risk.param.verbose = 0&lt;BR /&gt;
action.threat_add.param.verbose = 0&lt;BR /&gt;
alert.track = 0&lt;BR /&gt;
&lt;/CODE&gt;&lt;BR /&gt;
Here is the alert_actions.conf&lt;BR /&gt;
    [name of the alert]&lt;BR /&gt;
    from=&lt;A href="mailto:splunk@localhost.com" target="_blank"&gt;splunk@localhost.com&lt;/A&gt;&lt;BR /&gt;
    to=$user_email$&lt;BR /&gt;
    subject="My subject as mentioned in the alert"&lt;BR /&gt;
    sendresults=1&lt;BR /&gt;
    inline=1&lt;BR /&gt;
    priority=5&lt;BR /&gt;
    mailserver=local mail server:port number as defined&lt;BR /&gt;
    sendpdf=1&lt;BR /&gt;
    sendcsv=1&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:07:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Using-a-different-email-address-to-send-email-responses-using/m-p/445747#M6095</guid>
      <dc:creator>shiv1593</dc:creator>
      <dc:date>2020-09-29T23:07:26Z</dc:date>
    </item>
  </channel>
</rss>

