• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Unable to remove mail accounts

B

basaja

Guest
Hi, after upgrade to Plesk 9.2 (Debian) when I try to remove mail accounts I see this error:
-----------------------------
ERROR: PleskUtilException

mailmng failed: Some errors occured. See log for details
--------------------------------------------------------------------------------
0: class.MailManager.php:242
MailManager::execWithException(string 'smart_exec', string 'mailmng', array, array, string 'lst')
1: class.MailManager.php:274
MailManager->callMailManager(string 'remove-mailname', array)
2: class.MailManager.php:354
MailManager->removeMailname(string 'domain.com', string 'prueba')
3: cmd_mail.php3:1357
mn_del(string '887')
4: class.MailNamesList.php:597
MailNamesList->remove(array)
5: mail_names_remove.php:55
-----------------------------

I enable "display_errors" and I see this error line:
Fatal error: Exception thrown without a stack frame in Unknown on line 0

I don´t see nothing in system error logs.

When mailmng try to remove mail from psa, it can delete mail from "accounts" table but not from "mail" table.

Can anyone help me?

Thanks!!
 
Hi Andrey,

Thanks for your answer.

I have this error when execute this command /usr/local/psa/admin/sbin/mchk --with-spam

host:/# /usr/local/psa/admin/sbin/mchk --with-spam
==> Checking for: mail_spam_restore... ok
==> Checking for: mailsrv_conf_init... ok
==> Checking for: mail_mailbox_restore... ok
==> Checking for: mailsrv_entities_dump... ok
==> Checking for: mail_auth_dump... ok
==> Checking for: mailman_lists_dump... ok
==> Checking for: mail_responder_restore... ok
==> Checking for: mail_drweb_restore... ok
==> Checking for: mail_kav_restore... ok
==> Checking for: mail_spf_restore... ok
==> Checking for: mail_dk_restore... fail
Errors occured in mail restore procedure
Some utilities was exited with errors:
/usr/lib/plesk-9.0/mail_dk_restore

Now I exec this command:
/usr/lib/plesk-9.0/mail_dk_restore

host:/# /usr/lib/plesk-9.0/mail_dk_restore
E: domain.com: key file /etc/domainkeys/domain.com/default not exists or not a file: No such file or directory

I have this error.

The problem continued.
 
you can try to log out and close all browser windows so the session gets reset.
 
Back
Top