How to repair mail server configuration in Plesk?

Use mchk utility to repair/rebuild mail server configuration and restore settings for all mailboxes created in Parallels Plesk Panel.

Plesk for Linux:

~# /usr/local/psa/admin/sbin/mchk –help
Restore settings for all mailboxes.
Usage: /usr/local/psa/admin/sbin/mchk [OPTION]

–without-spam restore all settings except for SpamAssassin configuration
–with-spam restore all settings
–spam-only restore only SpamAssassin settings

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

Plesk for Windows:

Warning! Only settings that were applied to mailboxes through Parallels Plesk Panel interface or command-line utilities will be restored by mchk. Any custom configuration options, applied by other means (e.g. through mail server’s configuration console), will be lost.

C:>“%plesk_bin%mchk” –help
usage: mchk [options] …

–all [–fix=all|local]
–domain –domain-name= [–fix=local]
–domains –domain-names=| [–via-file] [–fix=local]
–all-domains [–fix=local]

Usage example:

C:>”%plesk_bin%mchk” –all

Leave a Reply