How do i clear the qmail queue in kloxo via ssh?

 

If you are having problems with your mail queue and need to flush it then you can do this in the kloxo control panel or via SSH.

 

If you want to clear / flush the qmail mail queue via SSH then log in using your SSH client (something like putty will do) then to clear a qmail script run the following:

  • su -
  • wget http://www.hosting--solutions.co.uk/kloxo-scripts/qmailclear.sh
  • sh qmailclear.sh or sh ./qmailclear.sh
 
For those that receive oversized file truncting errors.
Use the following more intense script. It takes a little longer but gets the job done.

login to your server via ssh and type the following commands :-
  • su -
  • wget http://www.hosting--solutions.co.uk/kloxo-scripts/qmailclean.sh
  • sh qmailclean.sh or sh ./qmailclean.sh
 
Please Note: Use this script at your own risk, we will not be held responsible for your mail breaking by using this 
script, even though we have tested it fully and it works fine on our systems.
 

 

  • 207 Users Found This Useful
Was this answer helpful?

Related Articles

Accessing the control panel (lxadmin / kloxo)

Accessing the control panel There are several ways to access LXadmin:...

Accessing Web Mail (kloxo / lxadmin)

Accessing Webmail To access Webmail, login to the Webmail installation in the following format:...

Directory Structure in lxadmin / kloxo

Directory Structure Lxadmin has the following Directory structure for a Domain account: By...

How can i use InstallApp in kloxo?

InstallApp is disabled by default in kloxo web control panel due to making the template large....

How do i access Phpmyadmin? (lxadmin / kloxo)

Accessing PHPmyadmin To access phpmyadmin, go to the "Domains" page under "Client Home" and...