Error while changing mail settings: There is no mail service for domain with id = 1. It must be created before call update

Created:

2016-11-16 12:46:17 UTC

Modified:

2017-04-24 11:23:27 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Error while changing mail settings: There is no mail service for domain with id = 1. It must be created before call update

Applicable to:

  • Plesk for Windows
  • Plesk for Linux

Symptoms

When creating a user or changing mail settings in Plesk, the following error is encountered:

There is no mail service for domain with id = 1. It must be created before call update

OR

Error: There is no DSMail service for domain with id = 1

Cause

The Mail service entry is missing for a domain in the psa database for one of the subscriptions.

Resolution

  1. Run Plesk autoinstaller and make make sure that all components were installed.

  2. Try to activate the Mail service for the domain via CLI

    For Linux:

    # /usr/local/psa/bin/domain --update example.com -mail_service true

    For Windows:

    "%plesk_bin%\\mail.exe" --update-service example.com -status enabled
Have more questions? Submit a request
Please sign in to leave a comment.