CariNet Forums  
Go Back   CariNet Forums > Email Servers

Reply
 
Thread Tools Search this Thread Display Modes
Old 07-18-2008, 05:22 PM   #1 (permalink)
Junior Member
 
Join Date: Jun 2008
Location: San Diego, CA
Posts: 15
Post How do I rebuild qmail`s queue if it is damaged or consists of a lot of spam messages

This instruction is written for RPM-based systems (RedHat, Fedora, CentOS, etc...).


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

Attention!

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

1. Stop Qmail and xinetd.

/etc/init.d/qmail stop
/etc/init.d/xinetd stop


2. Move 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 like:

rpm -Uvh --force psa-qmail....

4.(Optional).Reinstall drweb-qmail RPM if you use DrWeb antivirus 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 the both psa-qmail and drweb-qmail RPMs from the same Plesk version distributive which is installed on the server.
You can obtain current psa-qmail, drweb-qmail RPMs and Plesk build versions by running the following commands on Linux systems:


rpm -q psa-qmail
rpm -q drweb-qmail
rpm -q psa
knguyen is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Share on FacebookStumble this Post!Google Bookmark this Post!Bookmark to Slashdot!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT -7. The time now is 10:00 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0