How to disable Mail Service for all domains on Plesk for Linux server




  • Avatar
    Jake Nelson

    This can more easily be accomplished by accessing the Plesk database (via mySQL), accessing the "psa" database and "DomainServices" table, and updating the status of all entries of type "mail" to 16, for example:

    use psa

    UPDATE DomainServices SET status = 16 WHERE type = mail


    Using the method described in the original post on large servers causes massive strain and timeouts.

  • Avatar
    Ivan Postnikov

    Hello @Jake,

    Yes, such solution is also possible.

    However, direct changes in Plesk database are not recommended, because in case of incorrect queries inconsistencies may be caused.

    The solution from the article uses Plesk utilities which should not cause potential issues. Indeed, this solution may take more time.

Please sign in to leave a comment.

Have more questions? Submit a request