Need help? Call us on 1300 789 260

Plesk - Repair or Restore Mail configuration for Domain/s

Difficulty: Intermediate


  • Access via RDP or SSH


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

    Windows :
    ** 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

    C:\>"%plesk_bin%\mchk.exe" --domain

Was this article helpful? Yes No

Having trouble? We’re here to help!

We’ve built our company with a serious focus on quality service. Feel free to give us a call!

1300 789 260