This article describes how to repair/rebuild the mail configuration for a domain/s using the 'mchk" utility which restores the settings for all mailboxes created in Plesk.


  1. Access VPS via either RDP or SSH depending on Server OS
  2. Linux:
    [root@ws1 ~]# /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

    Example usage for all mailbox's that do not have SpamAssassin enabled:

    [root@ws1 ~]# /usr/local/psa/admin/sbin/mchk --without-spam

    ** Any changes made outside Plesk for the mailbox's e.g. MailEnable, will not be restored **

    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]

    Example usage for conetix.com:

    C:>"%plesk_bin%mchk.exe" --domain --domain-name=conetix.com


Was this article helpful?

Related Articles