Product:
Search Type:

How do I repair/rebuild all Qmail configuration files and restore settings for all mailboxes?

Article ID: 944 
Last Review: Jun,26 2008
APPLIES TO:
  • Plesk for Linux/Unix

RESOLUTION

This can be done with Plesk mchk utility:

# /usr/local/psa/admin/bin/mchk
Synopsis:
mchk [OPTION]
--without-spam - restore all settings except for SpamAssassin configuration
--with-spam - restore all settings
--spam-only - restore only SpamAssassin settings


This utility rebuilds in line with Plesk database Qmail control files in the /var/qmail/control, /var/qmail/users directories and mail users' settings. Also, it sets proper ownership/permissions for all mailboxes (/var/qmail/mailnames/*).

Example:
# /usr/local/psa/admin/bin/mchk --with-spam


Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields