"Activate mail service on domain" button is greyed out

Created:

2016-11-16 13:08:43 UTC

Modified:

2017-08-16 16:52:44 UTC

1

Was this article helpful?


Have more questions?

Submit a request

"Activate mail service on domain" button is greyed out

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 11.x for Windows
  • Plesk 11.x for Linux
  • Plesk 12.0 for Windows
  • Plesk 12.0 for Linux
  • Plesk 12.5 for Windows

Symptoms

Mail service is disabled for subscription in > Mail > Mail Settings and it is not possible to enable it through control panel, because "Activate mail service on domain" button is greyed out, but subscription is active.

Resolution

  1. Create dump of Plesk database:

Plesk for Windows
C:\Program Files\Parallels\Plesk\MySQL\bin>mysqldump -uadmin -pPASSWORD -P8306 psa >psa.dump
Plesk for Linux
MYSQL_PWD= cat /etc/psa/.psa.shadow mysqldump -uadmin psa >psa.dump

  1. Login to Plesk database:

Plesk for Windows %plesk_dir%\MySQL\bin\mysql -uadmin -pPASSWORD -P8306 psa

Plesk for Linux
MYSQL_PWD= cat /etc/psa/.psa.shadow mysql -uadmin psa

  1. Find domain with disabled mail service:
    mysql> select * from DomainServices where type='mail' and dom_id=(select id from domains where name='domain.tld');
    +-----+--------+------+--------+---------------+----------------+
    | id | dom_id | type | status | parameters_id | ipCollectionId |
    +-----+--------+------+--------+---------------+----------------+
    | 167 | 61 | mail | 2 | 229 | 167 |
    +-----+--------+------+--------+---------------+----------------+
    1 row in set (0.00 sec)

where 'domain.com' is a primary subscription's domain.

    mysql> update DomainServices set status=0 where type='mail' and id=167;
Query OK, 1 row affected (0.00 sec)

Cause

Such kind of misconfiguration could be the result of manually changed parameters in database.

Have more questions? Submit a request
Please sign in to leave a comment.