.TH s/qmail: qmail-qmaint 8 .SH NAME qmail-qmaint \- queue maintenance .SH SYNOPSIS .B qmail-qmaint [ .I -i ] | [ .I -d messid ] .SH DESCRIPTION .B qmail-qmaint inspects .B s/qmail's queue and validates its consistancy. In .I -i interactive mode, individual fixes can be commanded. Queue maintanence also allows to remove particular messages from the queue referencing their .I messid as given by .B qmail-qread (without the leading pound sign '#') by means of .IR -d\ messid . Here, only pre-processed and bounce messages are taken into consideration. .B qmail-qmaint must be run either as root or with user id .I qmails and group id .IR sqmail . .SH "WARNING" It is strongly advised to use .B qmail-qmaint only in case .B qmail-send was shut down before. Queue inspection on a `sane` queue is however none-destructive. .SH "EXIT CODES" .B qmail-qmaint unlike .B 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. .SH "SEE ALSO" qmail-qstat(8), qmail-qread(8), qmail-send(8), qmail-queue(9) .SH "CREDITS" .B qmail-qmaint is based on the program 'queue-fix' written be Eric Huss.