Tips, Tricks, News & Offers
If you would like to be kept up to date with Internet technology changes, Idaq technical tips & How To's plus discounts and special offers, subscribe to our Tips, Tricks and offers Newsletter:

Email:
First Name:
Last Name:
Knowledgebase: Linux
How do I repair/rebuild all Qmail configuration files and restore settings for all mailboxes?
Posted by Matthew Whittaker on 16 June 2006 02:25 PM
It can be done with Plesk mchk utility which is located in: $PRODUCT_ROOT_D/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

(35 votes)
This article was helpful
This article was not helpful

Comments (0)
Post a new comment 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Hosted by Idaq