DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

checkque(ADM)


checkque -- generate MMDF queue status report

Syntax

/usr/mmdf/bin/checkque [ -fpsz ] [ -tage [ m ]] [ -c channel ... ]

Description

checkque reports on the amount of mail waiting in the MMDF distribution queue. It indicates the total number of messages and the size of the queue directory. It then lists the number of messages waiting for each transmission channel.

The -c option allows one or more channel names to be specified. If present, checkque restricts its report to the named channels.

The -f option causes checkque to print the name of the oldest queued message for each channel. -p causes only channels with ``problems'' to be listed. Problems are defined as channels with mail waiting for over some ``problem threshold''. The default problem threshold is 24 hours. The -t option is used to change the problem threshold. A number of hours (or minutes, if m is appended) should appear without a space after the -t. -s forces an abbreviated summary listing instead of the normal multi-line report. -z causes channels with no messages queued to be skipped in the report.

checkque is distributed setuid to mmdf, which allows any user to inspect the queue. To restrict access to root and mmdf, use chmod(C) to turn off the setuid bit.

Many configurations will have only two channels. One is for local delivery and the second is for off-machine relaying, such as by dialup connections or by connections to ArpaNet hosts. Local delivery usually happens at the time of submission, so it is rare that any mail is waiting in it. Mail in other outbound queues is processed by deliver according to your site parameters, either by running deliver as a background daemon or by periodically invoking it via cron.

Files

quedfldir[]/addr
quedfldir[]/msg
quedfldir[]/q.*
phase-directory/channel/*

See also

chmod(C), deliver(ADM)

Standards conformance

MMDF is not part of any currently supported standard; it was developed at the University of Delaware and is used with permission.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003