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 5, 2008
Last Review: Apr 17, 2013
Views:
Was this article helpful?
No Yes
APPLIES TO:
  • Parallels Plesk Panel

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.
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



64d8d09669cff87d685a09b84f40c490 49af2da0f2dd4c81e962790bbbd0c2b4 56797cefb1efc9130f7c48a7d1db0f0c

Was this article helpful?
No Yes
 
 
 
 
 
 
For Home
For Hosters
For SaaS
For IaaS
 
Desktop Virtualization
- Parallels Desktop 8 for Mac
- Parallels Transporter
- Parallels Mobile
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac Enterprise Edition
- Parallels Management-Mac for Microsoft SCCM
Server Virtualization
- Parallels Cloud Server
- Parallels Virtuozzo Containers
Automation
- Parallels Automation
- Parallels Automation for Cloud Infrastructure
- Parallels Business Automation Standard
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
- Web Presence Builder
- Parallels Plesk Automation
- Parallels Small Business Panel
- Parallels Domain/SSL Reseller Program
- Value-added Services for Hosters
- Parallels Partner Storefront