OpenBSD CVS

CVS log for src/usr.sbin/smtpd/Attic/showqueue.c


[BACK] Up to [local] / src / usr.sbin / smtpd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.5, Thu Jan 29 12:43:25 2009 UTC (15 years, 4 months ago) by jacekm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED

Common queue walking code for smtpd and smtpctl. Kills majority of showqueue.c,
the remaining code was moved to queue_shared.c; ok gilles@

Revision 1.4 / (download) - annotate - [select for diffs], Thu Jan 1 16:15:47 2009 UTC (15 years, 5 months ago) by jacekm
Branch: MAIN
Changes since 1.3: +1 -10 lines
Diff to previous 1.3 (colored)

remove unnecessary includes; ok gilles@

Revision 1.3 / (download) - annotate - [select for diffs], Mon Dec 22 13:28:10 2008 UTC (15 years, 5 months ago) by jacekm
Branch: MAIN
Changes since 1.2: +19 -17 lines
Diff to previous 1.2 (colored)

Fix few cases where "smtpctl showqueue" could exit prematurely
if msg is delivered between readdir and opendir, or readdir and
fopen, etc. etc.

Be more unforgiving about errors other than ENOENT, and err()
if they happen, not just warn().

ok gilles@

Revision 1.2 / (download) - annotate - [select for diffs], Sun Dec 21 13:06:41 2008 UTC (15 years, 5 months ago) by jacekm
Branch: MAIN
Changes since 1.1: +2 -4 lines
Diff to previous 1.1 (colored)

Add more compile time checking; fix warnings reported by gcc.
From: Nicholas Marriott <nicholas.marriott@gmail.com>

Revision 1.1 / (download) - annotate - [select for diffs], Sat Dec 6 02:44:08 2008 UTC (15 years, 5 months ago) by gilles
Branch: MAIN

- 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@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.