SolidCP no longer w...
 
Notifications
Clear all

SolidCP no longer works with Smartermail

78 Posts
9 Users
3 Reactions
7,373 Views
Posts: 37
(@sergio)
Trusted Member
Joined: 8 years ago

Hi Techguy,

You will not upgrade SM from de 100? We are working only in the last version, but since the API is the same since SM100 it should work.

ST is a little bit messy with the API and is always changing methods, but should work with the last (8629+). We stop change the 100 DLL to not affect the v. 100 users and create a new one.

Maybe we not resolve all the problems of the 100 DLL. In our environment the DLL do well all account operations but had problems with the alias/groups.

Did you try my last upload?

Regards,

SR

 

Reply
Posts: 56
(@enguard)
Trusted Member
Joined: 6 years ago

This will work with Build 8747 and newer. As of today it works with Build 8839. You can try it with older versions 86xx, it might work.

Reply
1 Reply
 jack
(@jack)
Joined: 6 years ago

Active Member
Posts: 13

@enguard Hi chris

 

I have 2 servers with Smartermail v100.x

With Smartermail 100.0.8768.31885 (Jan 3, 2024) the provider does not work. Shows error

[4/11/2024 9:20:08 AM] ERROR: 'SmarterMail Build 8747+' AccountExists
System.AggregateException: One or more errors occurred. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
   at Newtonsoft.Json.JsonTextReader.ParseValue()
   at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at SolidCP.Providers.Mail.SmarterMail8629.<ExecPostCommand>d__24.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at SolidCP.Providers.Mail.SmarterMail8629.AccountExists(String mailboxName)
   at SolidCP.Server.MailServer.AccountExists(String accountName)
---> (Inner Exception #0) Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
   at Newtonsoft.Json.JsonTextReader.ParseValue()
   at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at SolidCP.Providers.Mail.SmarterMail8629.<ExecPostCommand>d__24.MoveNext()<---

 

100.0.8601.21923 (Jul 20, 2023) I am using the 10x provider and it works correctly, but I cannot update Smartermail because it will not continue to work.

 

 

Reply
Posts: 237
(@hxkd)
Reputable Member
Joined: 8 years ago

the costs of upgrading the 2 servers for what they are being used for, does not warrant the cost they are enterprise servers and as they are they are doing fine as far as services to customers goes. we would never recover the costs back. Its sad, but our exchange rate is 1:20 so its costly to upgrade all the time..

Reply
Posts: 237
(@hxkd)
Reputable Member
Joined: 8 years ago

ok i been through all of these dlls and the issue remains the same,

1) If I use the original one from smartermail it creates mail accounts, changes passwords etc, just fine. However it cant import in detached domains and accounts and it bitches about the groups issue.

2) If i goto the patches that were made (I cant even give version names as they all have the same 1.4.9.0 145 in the file description.) But the first one in the original chat. I can then import in domains accounts, etc fine, but if you create an account it doesn't create the account. and if i try to edit the account i get this error.

Stack Trace: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Could not get mailbox ---> One or more errors occurred. ---> Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

I tried the one after that one and it gave the same issues. I am just a bit worried of changing all these dlls etc and patching the sql db and then to try revert back if it doesnt work is going to be a mission.

I just don't understand what is the difference between the original file and the second on as to why some stuff works and others don't on both the dlls. The provider for version 12 server is running 100% fine no issues, its just this dam 100 version ones that are having the problems.

Reply
Posts: 237
(@hxkd)
Reputable Member
Joined: 8 years ago

for now, I created a batch file to switch between the 2 versions, its not that we import in a lot of detached domains, its just a PITA that it doesnt work anymore as it did work fine before moving to 1.4.9

Reply
2 Replies
(@enguard)
Joined: 6 years ago

Trusted Member
Posts: 56

@hxkd You are running legacy Smartermail builds 7950 and 8601 which uses the Version 1 API and is fully compatible with the SmarterMail 10.x + Provider, that is the one you should be using.

This forum thread is specifically about the Version 2 API and is for Builds 8629 and newer. The Smartermail 100.x + Provider is using the Version 2 API and my post fixed the bugs in the Smartermail 100.X + Provider and works with the latest build of SmarterMail.

Reply
(@hxkd)
Joined: 8 years ago

Reputable Member
Posts: 237

@enguard I beg to differ, I tried using the 10x provider, nothing works on the SmarterMail Enterprise 100.0.7950.26879 (Oct 7, 2021) if i use the 100 provider, it creates domains, email addresses, i can edit them etc, just cant import..

   
Reply
Page 6 / 10
Share: