Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

ndzlogo-1-1
50%
Loading ...

INDIA – HEADQUARTERS

INDIA

UNITED STATES

CANADA

There might be instances when the removal of email accounts from frontend fails in plesk control panel.

One of the following 2 methods can be used to resolve the issue:

♦ Remove the mail account via SSH.

# /usr/local/psa/bin/mail –remove email@domain.tld

♦ If the above method doesn’t work, remove the email account from the Plesk database manually (backup the ‘psa’ database first).

Let’s use the email ID as “xyz@abc.com” as an example here (of-course, it should be replaced with the actual values in your queries).

Connect to the psa database from SSH:

# mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa

Retrieve the domain ID of abc.com

mysql> select id from domains where name=”abc.com”;

Now, first we will delete the password of the email account from the ‘accounts’ table by executing the below query:

mysql> delete from accounts where id in (select mail.id from \

mail INNER JOIN domains ON mail.dom_id=domains.id where \

domains.name=”abc.com” AND mail.mail_name=”xyz”);

Now, delete the email name ‘xyz’ from the ‘mail’ table (replace ‘ID’ with the id retrieved from the first query)

mysql> delete from mail where dom_id=’ID’ AND mail_name=’xyz’;

Once done, restart the MySQL service and you will be able to remove the email account from the Plesk control panel.