SmarterMail Black List Import Error
Problem reported by Bryan Zimmerman - 10/21/2025 at 12:12 PM
Resolved
I have a custom program that analyzes the various SmarterMail log files to find IP addresses that are actively trying to break into the system or spammers who flood the email system.  The program generates a JSON file to be imported into the black list using the import method.  This has been working flawlessly for more than 6 months.

Recently, a SmarterMail update broke the import functionality, and it just reports an undefined error.  A JSON file which files is reported below

{
    "BlackList": [
        {
            "guid": "a2f113f3-3617-4aaf-a2b6-981963a60491",
            "ServiceList": [
                "Imap",
                "Ldap",
                "Pop",
                "Smtp",
                "Xmpp",
                "Ldap",
                "ActiveSync",
                "MapiEws",
                "Webdav",
                "WebMail"
            ],
            "IPAddress": "14.194.162.98",
            "Description": "static-98.162.194.14-tataidc.co.in"
        }
    ]
}
These are modeled exactly after the results provided by the export function.  I have not tried importing an export file because it will produce duplicates.  Can some one take a look at this?
Derek Curtis Replied
Employee Post
Hi, Bryan

I created a ticket based off this thread. We'll look into it and someone will contact you with questions. Thanks for reporting it. 
Derek Curtis COO SmarterTools Inc. www.smartertools.com
Bryan Zimmerman Replied
Derek,

  Thank you for taking a look at the issue!  One other thing of note is that when the list was imported in the past the Country Code was not properly resolved under the BlackList entries.  However, if the same IP's were entered manually the country code was displayed correctly.

Bryan Z
Derek Curtis Replied
Employee Post
Got it, Bryan. I updated your ticket with this, so the guys can verify and update the task for the developers as needed. 
Derek Curtis COO SmarterTools Inc. www.smartertools.com
Bryan Zimmerman Replied
The latest release fixed the import of JSON files error - thank you!  However, the Country fields are still marked N/A when done through import but populated if the entries are made manually.

Derek Curtis Replied
Employee Post
Thanks for confirming, Bryan. We're looking into the Country import/export as well. 
Derek Curtis COO SmarterTools Inc. www.smartertools.com
Derek Curtis Replied
Employee Post Marked As Resolution
Hey, Bryan

Just wanted to follow up on this. Imports of blacklists will now populate the Country for the IP. Tested and confirmed. 
Derek Curtis COO SmarterTools Inc. www.smartertools.com
Bryan Zimmerman Replied
Derek,

  That's great!  Tried the newest release, and it is working.  Thank you.

Bryan Z

Reply to Thread

Enter the verification text