[How to] Rebuild qmail queue if it is damaged or contains a lot of spam messages? (Debian/Ubuntu)

Created:

2016-11-16 12:57:28 UTC

Modified:

2017-04-24 12:06:19 UTC

0

Was this article helpful?


Have more questions?

Submit a request

[How to] Rebuild qmail queue if it is damaged or contains a lot of spam messages? (Debian/Ubuntu)

Applicable to:

  • Plesk for Linux

Symptoms

How to rebuild qmail queue if it is damaged or contains a lot of spam messages? (Debian/Ubuntu)

Resolution

These instructions are for DEB-based systems (Debian, Ubuntu). For instructions for RPM-based systems (CentOS, SuSE, etc.), see:

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

  1. Add the Plesk repository into the file /etc/apt/sources.list :

    # 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 " lsb_release -c ".

  2. Update the packages cache:

    # apt-get update
  3. Reinstall the psa-qmail package:

    # apt-get install --reinstall psa-qmail
Have more questions? Submit a request
Please sign in to leave a comment.