Search

Language:  
Search for:

Available article translations:

How do I rebuild qmail queue if it is damaged or contains a lot of spam messages?

Article ID: 252, created on Oct 6, 2008, last review on Dec 29, 2014

APPLIES TO:
  • Plesk 11.5 for Linux

Resolution

These instructions are written for RPM-based systems (RedHat, Fedora, CentOS, etc.). Instructions for DEB-based systems (Debian, Ubuntu) can be found in KB article #115980.

Please perform the following steps to recreate Qmail's queue.

Attention!

All current messages will be removed from the queue and cannot be restored.

  1. Stop Qmail and xinetd.

    # /etc/init.d/qmail stop
    # /etc/init.d/xinetd stop
    
  2. Move the current queue to another location.

    # mv /var/qmail/queue /var/qmail/queue_old
    
  3. Reinstall psa-qmail RPM to recreate qmail queue structure with the command:

    # rpm -Uvh --force psa-qmail
    
  4. (Optional) Reinstall drweb-qmail RPM if you use the Dr. Web anti-virus feature which comes with Plesk.

    # rpm -Uvh --force drweb-qmail
    
  5. Start Qmail and xinetd:

    # /etc/init.d/qmail start
    # /etc/init.d/xinetd start
    

Note: You should get both the psa-qmail and drweb-qmail RPMs from the same Plesk version distributive which is installed on the server. All necessary packages you may find here.

You can obtain the current psa-qmail RPM, drweb-qmail RPM, and Plesk build version by running the following commands on Linux systems:

# rpm -q psa-qmail
# rpm -q drweb-qmail
# rpm -q psa



a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 29d1e90fd304f01e6420fbe60f66f838 01bc4c8cf5b7f01f815a7ada004154a2 0a53c5a9ca65a74d37ef5c5eaeb55d7f

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No
 
 
 
 
 
 
Server Virtualization
- Odin Cloud Server
- Odin Containers for Windows 6.0
- Odin Virtuozzo Containers
Automation
- Odin Automation
- Odin Automation for Cloud Infrastructure
- Odin Business Automation Standard
- Odin Virtual Automation
- Odin Plesk Panel Suite
- Web Presence Builder
- Odin Plesk Automation
- Odin Small Business Panel
- Value-added Services for Hosters
- Odin Partner Storefront
Services & Resources
- Cloud Acceleration Services
- Professional Services
- Support Services
- Training & Certification