diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2008-12-06 02:44:09 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2008-12-06 02:44:09 +0000 |
commit | e774fb066c7e5e55bc5173ebf5a50e0a9b5e1673 (patch) | |
tree | 20c2bf87aceb45be86bf6f492e000d7cd7a9065c /usr.sbin/smtpd/parser.h | |
parent | 9e528cc22428aabfba76fb6159044bfc8d0c9c09 (diff) |
- teach smtpctl how to inspect queue and runqueue, it supports two commands
`showqueue' which displays the content of the queue (all envelopes)
`showrunqueue` which displays envelopes scheduled for delivery. The
utility will be improved and extended, but for now we need at least
this basic support to help debug queue-related issues.
Output format is spamdb-alike:
type|envelope uid|sender|recipient|last delivery date|retry count
ok jacek@
Diffstat (limited to 'usr.sbin/smtpd/parser.h')
-rw-r--r-- | usr.sbin/smtpd/parser.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/parser.h b/usr.sbin/smtpd/parser.h index ff3e45b4c1d..78846c992bc 100644 --- a/usr.sbin/smtpd/parser.h +++ b/usr.sbin/smtpd/parser.h @@ -1,4 +1,4 @@ -/* $OpenBSD: parser.h,v 1.1 2008/12/05 03:28:37 gilles Exp $ */ +/* $OpenBSD: parser.h,v 1.2 2008/12/06 02:44:08 gilles Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -20,7 +20,9 @@ enum actions { NONE, SHUTDOWN, RELOAD, - MONITOR + MONITOR, + SHOWQUEUE, + SHOWRUNQUEUE }; struct parse_result { |