queue-repair

14 October 2010 Roberto Puzzanghera0 comments

A toolkit for dealing with the qmail queue directory structure; it can create a new queue, move and properly rename a queue, dynamically change the conf-split value, convert big-todo queues to non-big-todo and vice versa, and repair a corrupted queue.

In case you damage the qmail queue by accident, you will say thanks to this software! But I wish you will never have to use it :-)

Download the latest version and install:

wget http://pyropus.ca/software/queue-repair/queue-repair-0.9.0.tar.gz
tar xzf queue-repair-0.9.0.tar.gz
cd queue-repair-0.9.0
chown -R root.root .
cp queue_repair.py /usr/local/bin

Usage

Don't forget to stop qmail before using.

# qmailctl stop
# queue-repair --help

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

 


Notice: Undefined index: HTTP_REFERER in /usr/local/www/htdocs/users/roberto/www/sagredoCMS-2/sites/notes.sagredo.eu/lib/ecomments.class on line 39

Add a comment