Symptoms
-
Unable to connect local SmarterMail to Plesk Obsidian at Tools & Settings > Server Components > Mail Server > SmarterMail Server 100.xx. The following error is shown:
"Integration error: Incorrect Content-Type: must be textual to extract_string, JSON to extract_json. at getVersion()(SmarterMail::Common::Provider::getVersion line 22)"
-
SmarterMail was installed on the server before Plesk.
Cause
The default http://localhost:9998/
binding is missing in SmarterMail site in IIS (Windows > IIS > Sites > SmarterMail > Bindings)
The default link to the SmarterMail web interface on a dashboard and Start menu by default is http://localhost:9998/
. That is why Plesk requires that local SmarterMail must be accessible by URL http://localhost:<port>/
.
Resolution
Add the missing binding:
-
Connect to the server via RDP
-
Go to IIS > Sites > SmarterMail > Bindings and add the binding on port 9998 specifying the 'localhost' as a hostname:
-
Click OK.
-
Connect the local SmarterMail at Tools & Settings > Server Components > Mail Server > SmarterMail Server 100.xx