SYNOPSIS

       qmail-qmaint [ -i ] | [ -d messid ]


DESCRIPTION

       qmail-qmaint inspects s/qmail's queue and validates its consistancy.
       In -i interactive mode, individual fixes can be commanded.  Queue
       maintanence also allows to remove particular messages from the queue
       referencing their messid as given by qmail-qread (without the leading
       pound sign '#') by means of -d messid.  Here, only pre-processed and
       bounce messages are taken into consideration.

       qmail-qmaint must be run either as root or with user id qmails and
       group id sqmail.


WARNING

       It is strongly advised to use qmail-qmaint only in case qmail-send was
       shut down before. Queue inspection on a `sane` queue is however none-
       destructive.


EXIT CODES

       qmail-qmaint unlike qmail-queue prints diagnostics messages.  It exits
       0 if it has successfully inspected the queue or the message has been
       deleted.  It may exit 99 in case of a warning, or 100 if an operation
       can not be completed, or 110 if a directory can not be accessed.


SEE ALSO

       qmail-qstat(8), qmail-qread(8), qmail-send(8), qmail-queue(9)


CREDITS

       qmail-qmaint is based on the program 'queue-fix' written be Eric Huss.



                                       8                s/qmail:(qmail-qmaint)

Man(1) output converted with man2html