Article ID: 7014, created on Dec 15, 2009, last review on Aug 12, 2014

  • Applies to:
  • Plesk 9.x for Linux/Unix

Symptoms

When you try to delete a mailbox from Parallels Panel, the PleskUtilException is displayed:

 ERROR: PleskUtilException
               
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.tld’, string 'test')
3: cmd_mail.php3:1357
    mn_del(string '275')
4: class.MailNamesList.php:597
    MailNamesList->remove(array)
5: mail_names_remove.php:55


Also, in /usr/local/psa/var/log/maillog, similar errors are displayed:

--->8---
Dec 14 19:54:45 server mailmng[10994]: No such parameter 'handler-type' for handler '20-drweb-wDB2eC'
Dec 14 19:54:45 server mailmng[10994]: Unable to get type of handler: 20-drweb-wDB2eC
Dec 14 19:54:48 server mailmng[10994]: No such parameter 'handler-type' for handler '20-drweb-IRA9dF'
Dec 14 19:54:48 server mailmng[10994]: Unable to get type of handler: 20-drweb-IRA9dF
Dec 14 19:54:49 server mailmng[10994]: Some errors was occured in mass hook operation. errors: 8
Dec 14 19:54:49 server mailmng[10994]: Unable to delete some handlers for this mailname: test@domain.tld

---8<---

Cause

Mail handlers are broken:

server:~$ ls -l /usr/local/psa/handlers/info/20-drweb-wDB2eC/
total 0
lrwxrwxrwx 1 root root 35 Dec 14 13:12 executable -> /usr/local/psa/handlers/hooks/drweb

Valid handlers:

server:~$ ls -l /usr/local/psa/handlers/info/20-drweb-wiVR0W/
total 16
-rw-r--r-- 1 root root 10 Dec 14 19:44 context
lrwxrwxrwx 1 root root 35 Dec 14 19:44 executable -> /usr/local/psa/handlers/hooks/drweb
-rw-r--r-- 1 root root 10 Dec 14 19:44 handler-type
-rw-r--r-- 1 root root 13 Dec 14 19:44 hook
-rw-r--r-- 1 root root 20 Dec 14 19:44 recipient

Resolution

To fix the error, it is recommended that you recreate broken mail handlers as per this article:

115162 How to recreate mail handlers in Parallels Plesk Panel 10.3 and earlier versions

6ef0db7f1685482449634a455d77d3f4 a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF