Hi Team,
I'm having a few issues getting dotnetpanel to work with MDaemon that I'm hoping you'll be able to help with.
Our configuration is as follows:
- DNP V.2.8.3
- Server Hardware HP DL380
- OS Windows 2008 x64 SP2
- PHP V.5.2.9
- ActivePerl V.5.10
- FileZilla V.0.9.31 beta
- MDaemon V.10.0.5
- Microsoft SQL Server 2008
- MySQL 5
- SimpleDNS V.5.2
- AWStats V.6.9
- All components are located on the same server
- This is a fresh install on a clean new server.
Basically I’m unable to create new mailboxes through dotnetpanel on MDaemon.
If I tick the " Create "Catch-All" Mail Account” box while building the customer I get the following 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 'Mail/Web Host 5' HOSTING_SPACE_WR ---> System.Exception: Could not create mail account ---> System.Exception: Error executing 'UPDATE' task on 'testco.com' MAIL_DOMAIN ---> System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Can't update domain ---> System.Exception: Couldn't assign domain postmaster account.
at DotNetPanel.Providers.Mail.MDaemon.UpdateDomain(MailDomain domain)
--- End of inner exception stack trace ---
at DotNetPanel.Providers.Mail.MDaemon.UpdateDomain(MailDomain domain)
at DotNetPanel.Server.MailServer.UpdateDomain(MailDomain domain)
--- 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 DotNetPanel.Providers.Mail.MailServer.UpdateDomain(MailDomain domain)
at DotNetPanel.EnterpriseServer.MailServerController.UpdateMailDomain(MailDomain item)
--- End of inner exception stack trace ---
at DotNetPanel.EnterpriseServer.MailServerController.UpdateMailDomain(MailDomain item)
at DotNetPanel.EnterpriseServer.PackageController.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)
--- End of inner exception stack trace ---
at DotNetPanel.EnterpriseServer.PackageController.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)
--- End of inner exception stack trace ---
at DotNetPanel.EnterpriseServer.PackageController.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)
at DotNetPanel.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)
--- 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 DotNetPanel.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)
at DotNetPanel.Portal.UserCreateSpace.CreateHostingSpace()
If i attempt to create a user later without ticking that box I get the following generated in the Audit Log but nothing on the account creation page:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Can't create mailbox ---> System.Exception: Could not add user. Error code -1
at DotNetPanel.Providers.Mail.MDaemon.CreateAccount(MailAccount mailbox)
--- End of inner exception stack trace ---
at DotNetPanel.Providers.Mail.MDaemon.CreateAccount(MailAccount mailbox)
at DotNetPanel.Server.MailServer.CreateAccount(MailAccount account)
--- 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 DotNetPanel.Providers.Mail.MailServer.CreateAccount(MailAccount account)
at DotNetPanel.EnterpriseServer.MailServerController.AddMailAccount(MailAccount item)
It seems like DNP is able to partially create some of the domain in MDaemon as I can see the domain listed in the account manager. I’ve also found that the domain doesn’t seem to get delete properly either, if I remove the customer and try to recreate it DNP will generate and error saying that the domain already exists on MDaemon.
I’ve tried the tips in http://forum.dotnetpanel.com/forums/t/1394.aspx?PageIndex=1 to manually cerate the COM object but it doesn’t seem to have helped. I'm wondering if this could be because I'm using the very latest version of MDaemon?
Any ideas?
Abandon all hope.