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

Refers to:

  • Plesk for Windows
  • Plesk for Linux
  • MT:8ead6b52a6dd9f997573e5927a8e9433
  • MT:57624c9793a93538297e5c7a16250e7f
  • MG:c1b14994cdeb871faead3867b8675ae4
  • MG:10bf8222d85c4651ca959fb4c955b608

Created:

2016-11-16 12:46:17 UTC

Modified:

2017-02-20 20:45:18 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

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.