Home / Plesk / How do I repair/rebuild all mail configuration files and restore settings for all mailboxes?

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

Plesk 0

Resolution
This can be done with Plesk mchk utility:

# /usr/local/psa/admin/sbin/mchk --help
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/sbin/mchk --with-spam

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  •  
    Previous Post

    I get the error: “Could not connect to SQL database. Too many connections”.

  •  
    Next Post

    Is Internet Explorer 8.0 compatible with Parallels Virtuozzo Containers for Windows?