• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question What's the cause for "... open database /var/spool/postfix/plesk/virtual.db: Permission denied ..."?

Bitpalast

Plesk addicted!
Plesk Guru
Example from maillog:
Dec 9 12:24:24 [hostname] journal: plesk sendmail[27739]: handlers_stderr: PASS
Dec 9 12:24:24 [hostname] journal: plesk sendmail[27739]: PASS during call 'limit-out' handler
Dec 9 12:24:24 [hostname] journal: plesk sendmail[27739]: handlers_stderr: postalias: fatal: open database /var/spool/postfix/plesk/virtual.db: Permission denied
Dec 9 12:24:25 [hostname] journal: plesk sendmail[27739]: handlers_stderr: SKIP
Dec 9 12:24:25 [hostname] journal: plesk sendmail[27739]: SKIP during call 'check-quota' handler

Postfix is up, mails can be sent and received, yet frequent /var/spool/postfix/plesk/virtual.db: Permission denied appear in the log.

We did check directory permissions according to http://forum.odin.com/threads/postfix-virtual-db-permission-denied.259020/, all seems to be well.
 
Hi Peter Debik,

"fast & dirty" - solution is mostly:

Code:
plesk installer --select-product-id plesk --select-release-current --install-component qmail

followed by

plesk installer --select-product-id plesk --select-release-current --install-component postfix



If this doesn't already solved your issue, pls. post the outputs from:
Code:
stat /var/spool/postfix/plesk/virtual.db

stat /var/spool/postfix/plesk/

stat /var/spool/postfix/
( hint: consider to use these commands as well, while QMAIL is installed, to see possible differences! ;) )
 
stat output seems o.k. compared to other hosts with the same configuration that do not suffer the same issue.

I am terrified by the thought that a component change to qmail and back to postfix could break SMTP altogether. I'd much prefer to know the reason for the error before giving this a try.
 
Hi Peter Debik,

first of all, your "worst case scenario" can be revoked with the Plesk configuration BACKUP - files, located at "/var/lib/plesk/cfgmon" within seconds. ;)
Second, NO content at all will be touched in your mail - directory. :rolleyes:
Third, I would NOT suggest the above possible solution, when I wouldn't be sure about the results. ;)
 
Back
Top