- Plesk for Windows
When creating a new domain or enabling mail service on existing domain, the operation fails with one of the following error messages:
PLESK_ERROR: Error: Unable to update domain data: Failed mail post-configuration: Can't create mail domain servie: mail_Facade->createDomain() failed: mailmng failed: Loaded Postoffice Configuration Provider (MEAIPO.DLL) MEAOPO.PostOffice.AddPostOffice failed for name example.com [example.com]
PLESK_ERROR: Error: mailmng failed: MEAOPO.PostOffice.AddPostOffice failed for name example.com [example.com] at (MailEnable::MailEnableDomain::MailEnableDomain line 25) at execute console command --add-domain(vconsoleapp::start line 122) at execute "C:\Program Files (x86)\Plesk\admin\bin\mailmng" --add-domain "--domain-name=example.com" "--disk-quota=-1"(vconsoleapp::run line 139) (Error code 1)
The issue may be caused by previously failed attempt to add or remove domain with the same name, which resulted in domain being absent from Plesk, but MailEnable Postoffice exists due to unsuccessful rollback of domain creation/removal.
Connect to a Plesk server via RDP.
For MailEnable mail server
Remove post office from MailEnable manually:
Note: If this domain has email accounts with data, apply the 2nd solution:
Open MailEnable Management console at Windows Start > All Programs > Mail Enable.
In MailEnable Management console, expand Messaging manager > Post Offices and remove/rename a post office of the domain that causes the error.
Create the domain or activate mail service in Plesk.
In case if creation fails for domains with EXISTING mail data, follow the steps:
Back up the following folders from C:\Program Files (x86)\Mail Enable (%plesk_dir%Mail Enable\Postoffices in older Plesk releases):
Dictionaries (if exists)
Remove post office under MailEnable > Messaging manager > Post Offices > example.com for the affected domain.
- Create the domain or activate mail service in Plesk.
Copy again the backed up folders to MailEnable data directory.
Run the following command to synchronize Plesk and MailEnable databases:
C:\> plesk repair mail example.com
For IceWarp mail server
Open IceWarp Administrator tool.
Find and remove domain that causes error in Domains&Accounts section.