summaryrefslogtreecommitdiff
path: root/man/qmail-qmaint.8
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-03 15:48:04 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-03 15:48:04 +0200
commit89b7b67a13ebb7965cc7f13ad0595e2194a2d34c (patch)
tree25efd77a90ae87236e6730d8ea3846bbe0fd126f /man/qmail-qmaint.8
add sqmail-4.2.29asqmail-4.2
Diffstat (limited to 'man/qmail-qmaint.8')
-rw-r--r--man/qmail-qmaint.865
1 files changed, 65 insertions, 0 deletions
diff --git a/man/qmail-qmaint.8 b/man/qmail-qmaint.8
new file mode 100644
index 0000000..54342b4
--- /dev/null
+++ b/man/qmail-qmaint.8
@@ -0,0 +1,65 @@
+.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.