Repair and rebuild all mail configuration in plesk.

This can be done with Plesk mchk utility:

Login to the server as user root and run the mchk utility.

Example:

# /usr/local/psa/admin/sbin/mchk –with-spam

Also check for the options

# /usr/local/psa/admin/sbin/mchk –help

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/*).

One Response to “Repair and rebuild all mail configuration in plesk”

  1. 2statuetteon 13 Jan 2022 at 1:28 am

    1discrete…

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.