-
-
Notifications
You must be signed in to change notification settings - Fork 3
queue fix.8
queue-fix - Create or Repair a qmail queue structure
queue-fix [-i -N -r -**b **big -v] [-s split] queue_dir
queue-fix analyzes and repairs the qmail queue structure. It will fix uid/gid settings and permissions. It will rename the message files to match their inodes. It will even create missing directories and files. You can even create a queue from scratch. It will also print warnings for any files it finds that should not exist. However, queue-fix doesn't attempt to fix if it finds the wrong type of file present; e.g. regular file instead of directory, directory instead of a regular file, fifo instead of a regular file, regular file instead of a fifo, etc
queue-fix uses environment set according to files in $HOME/.defaultqueue directory. You can skip $HOME/.defaultqueue by setting SKIP_LOCAL_ENVIRONMENT environment variable. queue-fix additionally sets environment variables according to files in /etc/indimail/control/defaultqueue directory (for any uid), if QUEUE_BASE is not set.
queue-fix uses the uids qmailq, qmailr and qmails to set permissions for various directories.
queue-fix needs root privileges to run.
-i
Interactive mode
-N
Test mode. This option will report inconsistencies in the queue and not
make any changes.
-b big
Create todo and intd directory with queue subdirectory split if
big is specified as non-zero.
-s split
specify the queue subdirectory split (default 151). You can also set
this by setting the environment variable CONFSPLIT. Any value above
151 is silently ignored.
-r
create ratelimit subdirectory for rate controlled delivery. See
slowq-send(8)
-m
Set permissions for qmta-send where qmta-send will run as qmailq user.
-v
Verbose mode
queue_dir
Directory where the qmail queue stucture is created. This directory has
the subdirectories bounce, info, intd, local, lock, mess, pid, remote,
todo, trash, ratelimit.
uenv(1), envdir(8), qmail-rm(1), svctool(8), qmail-queue(8), qmail-multi(8), slowq-send(8),
Original AUTHOR Eric Huss