Article ID: 944, created on Oct 6, 2008, last review on Jun 17, 2016

  • Applies to:
  • Plesk

Symptoms

Mail server does not work on the Plesk server:

  1. Unable to send/receive messages.
  2. mail_auth_view utility does not show any mail accounts.
  3. SPF checking of incoming emails is not triggered.
  4. etc.

How to repair mail server configuration?

Resolution

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

For Linux:

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

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

 Usage example:

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

For Windows:

Warning! Only the settings that were applied to mailboxes through the Plesk interface or command-line utilities will be restored by mchk. Any custom configuration options applied by other means (e.g., through your mail server's configuration console) will be lost. For more details, please read the What does mchk command do article.

 C:\>"%plesk_bin%\mchk" --help
 usage: mchk [options] ...

     --help
     --all             [--fix=all|local]
     --domain          --domain-name= [--fix=local]
     --domains         --domain-names=| [--via-file] [--fix=local]
     --all-domains     [--fix=local]
     --global-settings

 Usage example:

 C:\>"%plesk_bin%\mchk" --all

Search Words

repair mail

mchk

mail does not work

mail_auth_view empty

56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c

Email subscription for changes to this article
Save as PDF