How do I rebuild my qmail configuration files?
Introduction
This article has been mirrored from the Parallels Knowledge Base as a courtesy to our (dv) Dedicated-Virtual Server customers. As they are the authoritative source of the information covered in this topic we encourage you to check their original article since this content is subject to change.
The publishing of this information does not imply support of this article. This article is provided solely as a courtesy to our customers. Please consult our (dv) Scope of Support for further information.
Solution
This can be done with Plesk mchk utility:
/usr/local/psa/admin/sbin/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
User Comments
No visitor comments posted. Post a comment
Fields marked with an asterisk(*) are required. Comment on this article