Guide updated on 29th of February 2016

Repair qmail queue


As its name suggest, this software is designed to repair defect qmail queue. It can happen when you manually manipulate queue.

cd /downloads/
gunzip queue-repair-0.9.0.tar.gz
tar -xpf queue-repair-0.9.0.tar
cd queue-repair-0.9.0/
mv queue_repair.py /var/qmail/bin/
ln -s /var/qmail/bin/queue_repair.py /usr/local/bin/
queue_repair.py --help

You should have such result :

queue_repair.py v. 0.9.0
Copyright (C) 2001 Charles Cazabon 
Licensed under the GNU General Public License version 2


Usage:  queue_repair.py [options] [conf-qmail]

Options:
  conf-qmail                    (default:  /var/qmail)
  -t   or --test                Test only; do not modify the filesystem
  -r   or --repair              Repair errors found        (default: test)
  -b   or --bigtodo             Force use of big-todo      (default: auto)
  -n   or --no-bigtodo          Force non-use of big-todo  (default: auto)
  -s N or --split N             Force conf-split of N      (default: auto)
  -c   or --create              Force creation of queue    (default: no)
  --i-want-a-broken-conf-split  Force non-prime conf-split (default: no)
  -h   or --help                This text

Take a look to the documentation


Users comments
Color Coded Qmail Installation Key
  Regular Black Text     Qmail installation notes and summaries by the author.
  Bold Black Text     Commands to be run by you, the installer.
  Bold/Regular Red Text    Vital and/or critical information.
  Regular Blue text     Denotes helpful tips and hints or hyperlinks.
  Regular Orange Text     Command line output.
  Bold/Regular green text     Denotes the contents of a file or script.