SolidCP no longer w...
 
Notifications
Clear all

SolidCP no longer works with Smartermail

67 Posts
8 Users
3 Likes
4,059 Views
Posts: 237
(@hxkd)
Reputable Member
Joined: 7 years ago

sorry i posted to early, ok so the user doesnt get created, there is definately no duplicate user and these are the errors I see when i add the user account on 10x

[3/20/2024 1:09:42 PM] START: 'SmarterMail 10.x +' GetDomain

[3/20/2024 1:09:42 PM] ERROR: 'SmarterMail 10.x +' GetDomain
System.Exception: Could not get mail domain ---> System.InvalidOperationException: Client found response content type of '', but expected 'text/xml'.
The request failed with an empty response.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SolidCP.Mail.SM10.svcDomainAdmin.GetDomainSettings(String AuthUserName, String AuthPassword, String domainName)
at SolidCP.Providers.Mail.SmarterMail10.GetDomain(String domainName)
--- End of inner exception stack trace ---
at SolidCP.Providers.Mail.SmarterMail10.GetDomain(String domainName)
at SolidCP.Server.MailServer.GetDomain(String domainName)

[3/20/2024 1:09:42 PM] START: 'SmarterMail 10.x +' AccountExists

[3/20/2024 1:09:42 PM] ERROR: 'SmarterMail 10.x +' AccountExists
System.Exception: Could not check whether mailbox exists ---> System.InvalidOperationException: Client found response content type of '', but expected 'text/xml'.
The request failed with an empty response.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SolidCP.Mail.SM10.svcUserAdmin.GetUser(String AuthUserName, String AuthPassword, String EmailAddress)
at SolidCP.Providers.Mail.SmarterMail10.AccountExists(String mailboxName)
--- End of inner exception stack trace ---
at SolidCP.Providers.Mail.SmarterMail10.AccountExists(String mailboxName)
at SolidCP.Server.MailServer.AccountExists(String accountName) 

if I edit an existing account this error is seen in the browser and the below in the solidcp log

 

System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Could not get mailbox ---> Client found response content type of '', but expected 'text/xml'.
The request failed with an empty response.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SolidCP.Providers.Mail.MailServer.GetAccount(String accountName)
at SolidCP.EnterpriseServer.MailServerController.GetMailAccount(Int32 itemId)
at SolidCP.EnterpriseServer.esMailServers.GetMailAccount(Int32 itemId)
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SolidCP.EnterpriseServer.esMailServers.GetMailAccount(Int32 itemId)
at SolidCP.Portal.MailAccountsEditAccount.BindItem()

 

[3/20/2024 1:14:03 PM] ERROR: 'SmarterMail 10.x +' GetAccount
System.Exception: Could not get mailbox ---> System.InvalidOperationException: Client found response content type of '', but expected 'text/xml'.
The request failed with an empty response.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SolidCP.Mail.SM10.svcUserAdmin.GetUser(String AuthUserName, String AuthPassword, String EmailAddress)
at SolidCP.Providers.Mail.SmarterMail10.GetAccount(String mailboxName)
--- End of inner exception stack trace ---
at SolidCP.Providers.Mail.SmarterMail10.GetAccount(String mailboxName)
at SolidCP.Server.MailServer.GetAccount(String accountName)

there is also other errors seen using the 10x service, it cant get bandwidth info etc, it just seems the 10x provider is either wrong or is there a new one that is supposed to be uploaded ?

 

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

🤣 🤡 🤡 they didn't change the service url.. ffs. ok so now i can add and update users. i need.

 

My apologies i feel like a right tit now for not double checking this... thank you all

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

i did apply this last update, will the disk usage entries work with the 10x client

Reply
1 Reply
(@enguard)
Joined: 5 years ago

Trusted Member
Posts: 52

@hxkd this only works with latest smartermail Builds. However, we discovered it breaks the MFA feature therefore I removed it in my last posted zip file. It is also something custom made and likely will not be included in the SolidCP project.

Reply
Posts: 52
(@enguard)
Trusted Member
Joined: 5 years ago

Disregard my last file post. In a lab environment it worked well enough. We rolled it out to production today and ran into some bugs. Therefore I do not recommend you use this in production. However it does work about 80% so you can get by if you are desperate for a bandaid fix in the meantime. 

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

seems this patch also caused other issues, we started seeing a error in system settings, by reverting back to the enterprise and portal back to before we patched solidcp for this sm issue resolves the problem

 

 

Reply
Page 8 / 9
Share: