<?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: Splunk for Exchange SMTP Reputation script errors in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-for-Exchange-SMTP-Reputation-script-errors/m-p/76901#M15723</link>
    <description>&lt;P&gt;Getting this output:&lt;BR /&gt;
Traceback (most recent call last):&lt;BR /&gt;
  File "/opt/splunk/etc/apps/Splunk_for_Exchange/appserver/addons/TA-SMTP-Reputation/bin/check_my_reputation.py", line 168, in &lt;MODULE&gt;&lt;BR /&gt;
    main()&lt;BR /&gt;
  File "/opt/splunk/etc/apps/Splunk_for_Exchange/appserver/addons/TA-SMTP-Reputation/bin/check_my_reputation.py", line 125, in main&lt;BR /&gt;
    opt_iplist = confInfo.get("mailservers", "iplist").strip()&lt;BR /&gt;
  File "/opt/splunk/lib/python2.7/ConfigParser.py", line 599, in get&lt;BR /&gt;
    raise NoSectionError(section)&lt;BR /&gt;
ConfigParser.NoSectionError: No section: 'mailservers'&lt;/MODULE&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 13:45:13 GMT</pubDate>
    <dc:creator>cgisplunk</dc:creator>
    <dc:date>2020-09-28T13:45:13Z</dc:date>
    <item>
      <title>Splunk for Exchange SMTP Reputation script errors</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-for-Exchange-SMTP-Reputation-script-errors/m-p/76893#M15715</link>
      <description>&lt;P&gt;I hope everyone is doing well and busy.&lt;BR /&gt;
I just installed Splunk for Exchange 2010 the other day. So far no issues but one - the SMTP reputation check is always N/A and running the check_my_reputation script manually fails like this:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="mailto:root@" target="_blank"&gt;root@&lt;/A&gt;...# ./bin/check_my_reputation.py &lt;BR /&gt;
./bin/check_my_reputation.py: line 11: &lt;/P&gt;

&lt;H1&gt;Splunk for Microsoft Exchange&lt;/H1&gt;

&lt;H1&gt;Email Reputation Check Data Definition&lt;/H1&gt;

&lt;H1&gt;Copyright (C) 2011 Splunk, Inc.&lt;/H1&gt;

&lt;H1&gt;All Rights Reserved&lt;/H1&gt;

&lt;P&gt;: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 22: &lt;BR /&gt;
This data input is designed to check your reputation on-line.&lt;BR /&gt;
It does two things.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;1) It outputs a file in appserver/static/reputation.html which&lt;BR /&gt;
contains a piece of HTML you can include in a dashboard&lt;/P&gt;

&lt;P&gt;2) It outputs to stdout the reputation of each and every IP&lt;BR /&gt;
address in the reputation.conf file&lt;BR /&gt;
: No such file or directory&lt;BR /&gt;
./bin/check_my_reputation.py: line 23: import: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 24: import: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 25: import: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 26: from: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 30: &lt;BR /&gt;
List of DNSBL Servers to check&lt;BR /&gt;
: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 31: dnsbl_list: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 32: 0spam.fusionzero.com,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 33: access.redhawk.org,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 34: all.spamrats.com,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 35: b.barracudacentral.org,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 36: blackholes.five-ten-sg.com,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 37: bl.blocklist.de,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 38: bl.emailbasura.org,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 39: bl.mailspike.org,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 40: bl.score.senderscore.com,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 41: bl.spamcannibal.org,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 42: bl.spamcop.net,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 43: bl.spameatingmonkey.net,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 44: bogons.cymru.com,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 45: cbl.abuseat.org,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 46: cblplus.anti-spam.org.cn,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 47: combined.njabl.org,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 48: db.wpbl.info,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 49: dnsbl-1.uceprotect.net,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 50: dnsbl-2.uceprotect.net,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 51: dnsbl-3.uceprotect.net,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 52: dnsbl.ahbl.org,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 53: dnsbl.dronebl.org,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 54: dnsbl.inps.de,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 55: dnsbl.justspam.org,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 56: dnsbl.kempt.net,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 57: dnsbl.solid.net,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 58: dnsbl.sorbs.net,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 59: dnsbl.tornevall.org,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 60: dnsbl.webequipped.com,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 61: dnsrbl.swinog.ch,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 62: fnrbl.fast.net,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 63: ip.v4bl.org,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 64: ips.backscatterer.org,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 65: ix.dnsbl.manitu.net,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 66: korea.services.net,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 67: l2.apews.org,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 68: list.blogspambl.com,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 69: list.quorum.to,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 70: mail-abuse.blacklist.jippg.org,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 71: psbl.surriel.com,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 72: rbl.choon.net,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 73: rbl.dns-servicios.com,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 74: rbl.efnetrbl.org,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 75: rbl.orbitrbl.com,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 76: rbl.polarcomm.net,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 77: singlebl.spamgrouper.com,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 78: spam.abuse.ch,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 79: spam.dnsbl.sorbs.net,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 80: spam.pedantic.org,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 81: spamguard.leadmon.net,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 82: spamrbl.imp.ch,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 83: spamsources.fabel.dk,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 84: spamtrap.trblspam.com,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 85: st.technovision.dk,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 86: tor.dan.me.uk,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 87: tor.dnsbl.sectoor.de,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 88: truncate.gbudb.net,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 89: ubl.unsubscore.com,: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 90: virbl.dnsbl.bit.nl: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 95: &lt;BR /&gt;
Read a configuration file from our area&lt;BR /&gt;
: command not found&lt;BR /&gt;
./bin/check_my_reputation.py: line 96: syntax error near unexpected token &lt;CODE&gt;('&lt;BR /&gt;
./bin/check_my_reputation.py: line 96:&lt;/CODE&gt;def readConf(confName):'&lt;BR /&gt;
&amp;lt;&amp;lt;&amp;lt;&lt;/P&gt;

&lt;P&gt;Yes, I have my IPs lined up in the reputation.conf, and I tried both in the /default and /local directories, but the script does not even reach that point.&lt;BR /&gt;
Anyone has seen this?&lt;BR /&gt;
Thank you,&lt;BR /&gt;
S.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:37:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-for-Exchange-SMTP-Reputation-script-errors/m-p/76893#M15715</guid>
      <dc:creator>cgisplunk</dc:creator>
      <dc:date>2020-09-28T13:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Exchange SMTP Reputation script errors</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-for-Exchange-SMTP-Reputation-script-errors/m-p/76894#M15716</link>
      <description>&lt;P&gt;Looks like Splunk ninjas are really too busy or no one knows the answer? C'mon guys...&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2013 16:14:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-for-Exchange-SMTP-Reputation-script-errors/m-p/76894#M15716</guid>
      <dc:creator>cgisplunk</dc:creator>
      <dc:date>2013-04-12T16:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Exchange SMTP Reputation script errors</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-for-Exchange-SMTP-Reputation-script-errors/m-p/76895#M15717</link>
      <description>&lt;P&gt;Sorry - travel &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;There are a couple of reasons this could happen.  The primary one is that you are running this on a Universal Forwarder.  The TA-SMTP-Reputation needs to run on a full installation of Splunk.   The second one is that there is something wrong with the reputation.conf.  Finally, the script itself could be corrupt and needing to be replaced with a clean copy.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2013 16:18:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-for-Exchange-SMTP-Reputation-script-errors/m-p/76895#M15717</guid>
      <dc:creator>ahall_splunk</dc:creator>
      <dc:date>2013-04-12T16:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Exchange SMTP Reputation script errors</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-for-Exchange-SMTP-Reputation-script-errors/m-p/76896#M15718</link>
      <description>&lt;P&gt;Adrian,&lt;BR /&gt;
The TA is on the full Splunk, so this is out.&lt;BR /&gt;
The conf file is like this:&lt;BR /&gt;
[mailservers]&lt;BR /&gt;
iplist = x.x.x.x;x.x.x.x;x.x.x.x&lt;BR /&gt;
I'll replace the script then.&lt;BR /&gt;
Thank you.&lt;BR /&gt;
Slava&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2013 16:32:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-for-Exchange-SMTP-Reputation-script-errors/m-p/76896#M15718</guid>
      <dc:creator>cgisplunk</dc:creator>
      <dc:date>2013-04-12T16:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Exchange SMTP Reputation script errors</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-for-Exchange-SMTP-Reputation-script-errors/m-p/76897#M15719</link>
      <description>&lt;P&gt;We were having a similar issue where we couldn't get the Reputation update. We found that because we had installed Splunk on a Windows server rather than on a Unix server, we needed to add a stanza to the 'input.conf' file to have the app use the Windows path for the script.&lt;/P&gt;

&lt;P&gt;Not sure it is the reason your Reputation isn't updating, but it solved our issue... &lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/answers/78889/exchange-reputation-setup"&gt;Exchange-Reputation-Setup&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2013 16:34:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-for-Exchange-SMTP-Reputation-script-errors/m-p/76897#M15719</guid>
      <dc:creator>jbreu</dc:creator>
      <dc:date>2013-04-12T16:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Exchange SMTP Reputation script errors</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-for-Exchange-SMTP-Reputation-script-errors/m-p/76898#M15720</link>
      <description>&lt;P&gt;Our Splunk is fully on Linux. Paths are default.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2013 17:01:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-for-Exchange-SMTP-Reputation-script-errors/m-p/76898#M15720</guid>
      <dc:creator>cgisplunk</dc:creator>
      <dc:date>2013-04-12T17:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Exchange SMTP Reputation script errors</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-for-Exchange-SMTP-Reputation-script-errors/m-p/76899#M15721</link>
      <description>&lt;P&gt;Replaced the script from the newly downloaded Splunk for Exchange suite. Same error, the script cannot run (output above in the original question). Will google around.&lt;BR /&gt;
Thanks,&lt;BR /&gt;
S.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2013 17:03:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-for-Exchange-SMTP-Reputation-script-errors/m-p/76899#M15721</guid>
      <dc:creator>cgisplunk</dc:creator>
      <dc:date>2013-04-12T17:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Exchange SMTP Reputation script errors</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-for-Exchange-SMTP-Reputation-script-errors/m-p/76900#M15722</link>
      <description>&lt;P&gt;Another thing to check - you need to run the script via Splunk.  So:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;root# splunk cmd python bin/check_my_reputation.py
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Try that!&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2013 19:50:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-for-Exchange-SMTP-Reputation-script-errors/m-p/76900#M15722</guid>
      <dc:creator>ahall_splunk</dc:creator>
      <dc:date>2013-04-12T19:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Exchange SMTP Reputation script errors</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-for-Exchange-SMTP-Reputation-script-errors/m-p/76901#M15723</link>
      <description>&lt;P&gt;Getting this output:&lt;BR /&gt;
Traceback (most recent call last):&lt;BR /&gt;
  File "/opt/splunk/etc/apps/Splunk_for_Exchange/appserver/addons/TA-SMTP-Reputation/bin/check_my_reputation.py", line 168, in &lt;MODULE&gt;&lt;BR /&gt;
    main()&lt;BR /&gt;
  File "/opt/splunk/etc/apps/Splunk_for_Exchange/appserver/addons/TA-SMTP-Reputation/bin/check_my_reputation.py", line 125, in main&lt;BR /&gt;
    opt_iplist = confInfo.get("mailservers", "iplist").strip()&lt;BR /&gt;
  File "/opt/splunk/lib/python2.7/ConfigParser.py", line 599, in get&lt;BR /&gt;
    raise NoSectionError(section)&lt;BR /&gt;
ConfigParser.NoSectionError: No section: 'mailservers'&lt;/MODULE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:45:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-for-Exchange-SMTP-Reputation-script-errors/m-p/76901#M15723</guid>
      <dc:creator>cgisplunk</dc:creator>
      <dc:date>2020-09-28T13:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Exchange SMTP Reputation script errors</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-for-Exchange-SMTP-Reputation-script-errors/m-p/76902#M15724</link>
      <description>&lt;P&gt;This tells me the file it found in local/reputation.conf if not valid.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2013 22:30:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-for-Exchange-SMTP-Reputation-script-errors/m-p/76902#M15724</guid>
      <dc:creator>ahall_splunk</dc:creator>
      <dc:date>2013-04-17T22:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Exchange SMTP Reputation script errors</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-for-Exchange-SMTP-Reputation-script-errors/m-p/76903#M15725</link>
      <description>&lt;P&gt;I get the same output.  I copied default/reputation.conf to local/reputation.conf and added a semicolon-delimited list of IP addresses after iplist=&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2013 16:54:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-for-Exchange-SMTP-Reputation-script-errors/m-p/76903#M15725</guid>
      <dc:creator>dbyler_amg</dc:creator>
      <dc:date>2013-09-17T16:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Exchange SMTP Reputation script errors</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-for-Exchange-SMTP-Reputation-script-errors/m-p/76904#M15726</link>
      <description>&lt;P&gt;Found my problem... I renamed the app directory to fit our particular deployment, and the script at bin/check_my_reputation.py calls the app directory by name in this section:&lt;/P&gt;

&lt;P&gt;def readConf(confName):&lt;BR /&gt;
    app_dir = os.path.join(os.environ["SPLUNK_HOME"], 'etc', 'apps')&lt;BR /&gt;
    app_path = os.path.join(app_dir, 'TA-SMTP-Reputation')&lt;/P&gt;

&lt;P&gt;I had to rename the app_dir to match our directory name.  After that the script ran ok.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:47:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-for-Exchange-SMTP-Reputation-script-errors/m-p/76904#M15726</guid>
      <dc:creator>dbyler_amg</dc:creator>
      <dc:date>2020-09-28T14:47:38Z</dc:date>
    </item>
  </channel>
</rss>

