FIX: Unable to get type of handler

By: Published: Aug 12th, 2012 Category: Plesk, Plesk For Linux

Recently while changing the name of a domain from Plesk (Linux) it thrown following Error:

No such parameter 'handler-type' for handler '10-spam-MVquwk'
Unable to get type of handler: 10-spam-MVquwk

No such parameter 'handler-type' for handler '10-spam-LztqGr'
Unable to get type of handler: 10-spam-LztqGr

The problem is due to orphaned handlers in /usr/local/psa/handlers Directory. Whenever a domain name has been changed whole mail handler system is checked by Plesk. We have created handler directory copy in /usr/local/psa/handlers.copy and removed problem handlers manually. Then executed mail reconfiguration utility:

# /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... not exsists
==> Checking for: mail_spf_restore... ok
==> Checking for: mail_dk_restore... ok

After this we were able to rename the domain successfully:

# /usr/local/psa/bin/domain --update supportest123.com -new_name 123testsupport.com
SUCCESS: Update of domain 'supportest123.com' complete.

If the any problem noted due to the removal of Email Handlers, changes can be reverted using the backup directory which has been created before clearing handlers.

 FIX: Unable to get type of handler

About

Milind Koyande is the Senior Research Engineer and his job is to work with new technologies, specially Cloud Computing / Virtualization Technology. His past projects include Government Sector initiatives, Backup and Disaster Recovery Solutions.

Tags: , , ,

Leave a Reply

Subscribe to eITWebguru

© 2012 eITWebguru. All Rights Reserved.