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?