Could not create ma...
 
Notifications
Clear all

Could not create mail account when creating hosting space

1 Posts
1 Users
0 Reactions
767 Views
Posts: 1
 amir
Topic starter
(@am110)
New Member
Joined: 7 years ago

Hi

when i want to create hosting space and check Create "catch all" mail account i got following error that is related to email account creation:

Page URL:	http://[myserver ip]:9001 removed link ;mid=22&ctl=create_space&UserID=11
Logged User:	serveradmin
Work on Behalf:	rimanetwork
Hosting Space:	0
Stack Trace:	System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Error executing 'ADD' task on '5GB OWN USE' HOSTING_SPACE_WR ---> System.Exception: Could not create mail account ---> System.NullReferenceException: Object reference not set to an instance of an object.
at SolidCP.EnterpriseServer.PackageController.AddPackageWithResources(Int32 userId, Int32 planId, String spaceName, Int32 statusId, Boolean sendLetter, Boolean createResources, String domainName, Boolean createPreviewDomain, Boolean createWebSite, Boolean createFtpAccount, String ftpAccountName, Boolean createMailAccount, String hostName)
--- End of inner exception stack trace ---
at SolidCP.EnterpriseServer.PackageController.AddPackageWithResources(Int32 userId, Int32 planId, String spaceName, Int32 statusId, Boolean sendLetter, Boolean createResources, String domainName, Boolean createPreviewDomain, Boolean createWebSite, Boolean createFtpAccount, String ftpAccountName, Boolean createMailAccount, String hostName)
--- End of inner exception stack trace ---
at SolidCP.EnterpriseServer.PackageController.AddPackageWithResources(Int32 userId, Int32 planId, String spaceName, Int32 statusId, Boolean sendLetter, Boolean createResources, String domainName, Boolean createPreviewDomain, Boolean createWebSite, Boolean createFtpAccount, String ftpAccountName, Boolean createMailAccount, String hostName)
at SolidCP.EnterpriseServer.esPackages.AddPackageWithResources(Int32 userId, Int32 planId, String spaceName, Int32 statusId, Boolean sendLetter, Boolean createResources, String domainName, Boolean tempDomain, Boolean createWebSite, Boolean createFtpAccount, String ftpAccountName, Boolean createMailAccount, String hostName)
--- End of inner exception stack trace ---
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.esPackages.AddPackageWithResources(Int32 userId, Int32 planId, String spaceName, Int32 statusId, Boolean sendLetter, Boolean createResources, String domainName, Boolean tempDomain, Boolean createWebSite, Boolean createFtpAccount, String ftpAccountName, Boolean createMailAccount, String hostName)
at SolidCP.Portal.UserCreateSpace.CreateHostingSpace()

and in solidcp event log i have this error that is related to authentication issue:

[11/17/2021 2:31:48 PM] ERROR: 'hMailServer 5.x' CreateDomain
System.Exception: Could not authenticate using administrator credentials provided
   at SolidCP.Providers.Mail.hMailServer5.get_hMailServer()
   at SolidCP.Providers.Mail.hMailServer5.CreateDomain(MailDomain domain)
   at SolidCP.Server.MailServer.CreateDomain(MailDomain domain)

i configure email server as below:

1 - select hmailserver 5.x as a provider

2 - in Service Settings

     - puplic ip address is my server IP address that hmailserver has been installed

    - admin login is my hmailserver admin username

    - admin password is my hmailserver administrator password.

 

also, if Create "Catch All" Mail Account remain unchecked hosting space created correctly but none of NS records defined in mail service applied to domain for witch i create hosting space and after that it is impossible to create email account also.

nOTE : I use windows server 2019

 

how i can solve this problem

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Share: