• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Add new domain failed at Configuring mailmailmng-core failed: Fatal error: plesk::mail::postfix::PostfixConfigurationError(postmap: warning: /etc/p

mifon

New Pleskian
Server operating system version
Ubuntu 22.04.3 LTS
Plesk version and microupdate number
18.0.55
Amtrying to add another domain to my PLESK OSBIDIAN (Web Admin Se Edition) running on Ubuntu 22.04 from PLESK admin panel and am it gives the following error on the 5th Step : Configuring Mail :

Any advice on how to resolve this?

Configuring mail
mailmng-core failed: Fatal error: plesk :: mail :: postfix :: PostfixConfigurationError(postmap: warning: /etc/postfix/main.cf, line 60: overriding earlier entry: smtp_tls_security_level=may
postmap: fatal: open database /var/spool/postfix/plesk/virtual.db: No such file or directory
)
 

Attachments

  • Screenshot 2023-09-11 at 12.32.15 PM.png
    Screenshot 2023-09-11 at 12.32.15 PM.png
    220.1 KB · Views: 7
It seems that the main.cf file of Postfix was manually modified at some time, plus the virtual.db file seems to be missing. You can try to fix it with
plesk repair mail. Virtual.db is a file that is generated from the email addresses that are stored in the Plesk database.
 
Thanks , will try this!

(As a work around, i added the new domain as a add on to the existing namespace, and it worked )
 
Back
Top