<?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 Linux DHCP and emails in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Linux-DHCP-and-emails/m-p/67708#M4186</link>
    <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;In any case, you will want to change&lt;BR /&gt;
the "Email address(es)" from&lt;BR /&gt;
"&lt;A href="mailto:example@example.com"&gt;example@example.com&lt;/A&gt;" to your desired&lt;BR /&gt;
email address or distribution list.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;This app is sending close to 100 messages every day. They all go to '&lt;A href="mailto:example@example.com"&gt;example@example.com&lt;/A&gt;' which is bouncing around the email system. By default email on most Linux systems will have the 'From:' address of '&lt;A href="mailto:splunk@somehost.yourorganization.org"&gt;splunk@somehost.yourorganization.org&lt;/A&gt;', which also goes nowhere (Or perhaps it goes to &lt;A href="mailto:postmaster@yourorganization.org"&gt;postmaster@yourorganization.org&lt;/A&gt;). This results in hundreds of double-bounced emails which remain in email purgatory.&lt;/P&gt;

&lt;P&gt;How would one change this email address? I cannot find that setting anywhere.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Sep 2012 22:02:34 GMT</pubDate>
    <dc:creator>stefanlasiewski</dc:creator>
    <dc:date>2012-09-21T22:02:34Z</dc:date>
    <item>
      <title>Linux DHCP and emails</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Linux-DHCP-and-emails/m-p/67708#M4186</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;In any case, you will want to change&lt;BR /&gt;
the "Email address(es)" from&lt;BR /&gt;
"&lt;A href="mailto:example@example.com"&gt;example@example.com&lt;/A&gt;" to your desired&lt;BR /&gt;
email address or distribution list.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;This app is sending close to 100 messages every day. They all go to '&lt;A href="mailto:example@example.com"&gt;example@example.com&lt;/A&gt;' which is bouncing around the email system. By default email on most Linux systems will have the 'From:' address of '&lt;A href="mailto:splunk@somehost.yourorganization.org"&gt;splunk@somehost.yourorganization.org&lt;/A&gt;', which also goes nowhere (Or perhaps it goes to &lt;A href="mailto:postmaster@yourorganization.org"&gt;postmaster@yourorganization.org&lt;/A&gt;). This results in hundreds of double-bounced emails which remain in email purgatory.&lt;/P&gt;

&lt;P&gt;How would one change this email address? I cannot find that setting anywhere.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2012 22:02:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Linux-DHCP-and-emails/m-p/67708#M4186</guid>
      <dc:creator>stefanlasiewski</dc:creator>
      <dc:date>2012-09-21T22:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Linux DHCP and emails</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Linux-DHCP-and-emails/m-p/67709#M4187</link>
      <description>&lt;P&gt;The only way to do this right now is to edit each saved search manually.  I will consider making this easier in a future version.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2013 18:29:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Linux-DHCP-and-emails/m-p/67709#M4187</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2013-02-25T18:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Linux DHCP and emails</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Linux-DHCP-and-emails/m-p/67710#M4188</link>
      <description>&lt;P&gt;Here's how I solved this. &lt;/P&gt;

&lt;P&gt;I noticed that the savedsearch &lt;CODE&gt;dhcpd_alert_new_mac_address_15m&lt;/CODE&gt; was configured to send an email every 15 minutes. By default, it sends email to &lt;A href="mailto:example@example.org" target="_blank"&gt;example@example.org&lt;/A&gt; . That is a ton of email (96 incorrect emails per day?). This is viewable under "Splunk&amp;gt; Manager » Searches and reports » dhcpd_alert_new_mac_address_15m", and on the commandline at &lt;CODE&gt;$SPLUNK_HOME/etc/apps/dhcpd/default/savedsearches.conf&lt;/CODE&gt; has this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[dhcpd_alert_new_mac_address_15m]                                                   
action.email = 1                                                                    
action.email.sendresults = 1                                                        
action.email.to = example@example.com                                               
counttype = number of events                                                        
cron_schedule = */15 * * * *                                                        
description = Alerts on mac addresses seen in the last 15 minutes that were not in the dhcpd_mac-hostname lookup table                                                   
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To disable this, I simply unchecked the box next to "Schedule this search". On the commandline, the following file was added to &lt;CODE&gt;$SPLUNK_HOME/etc/apps/dhcpd/local/savedsearches.conf&lt;/CODE&gt;, and now the emails have stopped.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[dhcpd_alert_new_mac_address_15m]  
disabled = 1   
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:40:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Linux-DHCP-and-emails/m-p/67710#M4188</guid>
      <dc:creator>stefanlasiewski</dc:creator>
      <dc:date>2020-09-28T13:40:01Z</dc:date>
    </item>
  </channel>
</rss>

