Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Unable to activate mail service on domain.  (Read 3997 times)

0 Members and 1 Guest are viewing this topic.

Ajayan

  • Guest
Unable to activate mail service on domain.
« on: March 28, 2015, 11:26:40 am »
If you unable to activate mail service for a domain from plesk control panel try below steps.

>>First check this plesk>>domian>>mail >>mail settings >> "Activate mail service on domain" button is greyed out or not.
>> Some timed we are unable to activate the mail service if the "Activate mail service on domain" button is not greyed.

Solution.

>>Login to Plesk database:
      mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa

>> Find domain with disabled mail service:
     mysql> select * from DomainServices where type='mail' and dom_id=(select id from domains where name='domain.tld');
You will get something like this.

+-----+--------+------+--------+---------------+----------------+
    | id  | dom_id | type | status | parameters_id | ipCollectionId |
    +-----+--------+------+--------+---------------+----------------+
    | 167 |     61 | mail |      2 |           229 |            167 |
    +-----+--------+------+--------+---------------+----------------+
    1 row in set (0.00 sec)

>> If the status of the mail service is not zero, then update the status with "0".
      mysql> update DomainServices set status=0 where type='mail' and id=167;

That's it :D