Cannot remove suspended subscription with domain aliases

Created:

2016-11-16 13:19:49 UTC

Modified:

2017-04-24 11:39:10 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot remove suspended subscription with domain aliases

Applicable to:

  • Plesk 11.0 for Linux

Symptoms

Unable to remove suspended domain having one or several aliases.

Plesk panel.log contain the following:

2014-10-23T12:51:41+00:00 ERR (3): mailmng failed: Empty error message from utility.
2014-10-23T12:51:52+00:00 CRIT (2): Smb_Exception: mailmng failed: Empty error message from utility.
file: /usr/local/psa/admin/smb/application/library/Smb/Plesk/Bridge/Mail/Name.php
line: 302
code: 0
trace: #0 /usr/local/psa/admin/plib/Db/Table/Row/Mailname.php(129): Smb_Plesk_Bridge_Mail_Name->remove()
#1 /usr/local/psa/admin/plib/Db/Table/Row.php(330): Db_Table_Row_Mailname->_executeDelete(Array)

If you run mailmng

 ~]# /usr/local/psa/admin/bin/mailmng '--remove-mailname' '--domain-name=alias.domain.tld' '--mailname=user'
mailmng[24843]: Unable to open database /var/spool/postfix/plesk/passwd.db: unable to open database file
mailmng[24843]: Unable to remove mailname user@alias.domain.tld
mailmng[24843]: Unable to remove mailname from domain aliases

Cause

Postfix maildatabase inconsistency

Resolution

  1. Remove all domain aliases

    /usr/local/psa/bin/domalias --delete-all domain.tld

  2. Remove the domain/subscription

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