How to rebuild qmail queue if it is damaged or contains a lot of spam messages? (Debian/Ubuntu)
These instructions are for DEB-based systems (Debian, Ubuntu). For instructions for RPM-based systems (CentOS, SuSE, etc.), see:
252 How to rebuild qmail queue if it is damaged or contains a lot of spam messages?
Attention! All current messages will be removed from the queue without option to be restored.
Add the Plesk repository into the file
# deb http://autoinstall.plesk.com/ubuntu/PSA_11.0.9 precise all
Note: The URL depends on the OS vendor (Debian/Ubuntu) and Plesk version installed on the server. Adjust these parts accordingly. The third word in the line (e.g., precise) is the name of the Debian/Ubuntu distribution, which can be obtained by running the command "
Update the packages cache:
# apt-get update
Reinstall the psa-qmail package:
# apt-get install --reinstall psa-qmail