Using the Plesk repair utility with the mail aspect reconfigures the mail settings for all domains and mailboxes. The following options are specific to this aspect:

  • -restore-configuration - Restores the mail server configuration. Once every 24 hours Plesk checks the mail server configuration files for changes. If it detects any, Plesk makes a snapshot of the configuration. When the -restore-configuration option is used, the contents of the current configuration files are backed up, and then you are offered a list of available snapshots and their respective creation dates. You can choose any snapshot to restore. This option can only be used in the interactive mode (Plesk for Linux only).
  • -only-domain-settings - Reconfigures the mail settings for domains only, does not reconfigure the mail settings for mailboxes (Plesk for Linux only).
  • -dont-restore-password - Reconfigures the mail settings without synchronizing the mailbox passwords between the Plesk database and the mail server. This option must be used for specific domains or mailboxes (Plesk for Windows only).

You can specify individual domains and mailboxes to reconfigure the mail settings only for the specified domains and mailboxes.

Examples:

  • plesk repair mail - Reconfigures the mail settings for all domains and mailboxes. The utility will run in the interactive mode (whenever the utility detects an issue, it informs you and prompts you for the permission to attempt to resolve it).
  • plesk repair mail example.com - Reconfigures the mail settings for all mailboxes belonging to the example.com domain, as well as domain-wide mail settings.
  • plesk repair mail johndoe@example.com - Reconfigures the mail settings for the johndoe@example.com mailbox.