-.\" $OpenBSD: smtpctl.8,v 1.51 2015/08/16 22:26:11 jmc Exp $
+.\" $OpenBSD: smtpctl.8,v 1.52 2015/10/15 08:18:23 sunil Exp $
.\"
.\" Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org>
.\" Copyright (c) 2012 Gilles Chehade <gilles@poolp.org>
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: August 16 2015 $
+.Dd $Mdocdate: October 15 2015 $
.Dt SMTPCTL 8
.Os
.Sh NAME
.It Cm pause envelope Ar envelope-id | message-id
Temporarily suspend scheduling for the envelope with the given ID,
or all envelopes with the given message ID.
+.It Cm pause envelope all
+Temporarily suspend scheduling all the envelopes.
.It Cm pause mda
Temporarily stop deliveries to local users.
.It Cm pause mta
.El
.It Cm remove Ar envelope-id | message-id
Remove a single envelope, or all envelopes with the same message ID.
+.It Cm remove all
+Remove all envelopes.
.It Cm resume envelope Ar envelope-id | message-id
Resume scheduling for the envelope with the given ID,
or all envelopes with the given message ID.
+.It Cm resume envelope all
+Resume scheduling all the envelopes.
.It Cm resume mda
Resume deliveries to local users.
.It Cm resume mta
-/* $OpenBSD: smtpctl.c,v 1.130 2015/10/13 08:06:22 gilles Exp $ */
+/* $OpenBSD: smtpctl.c,v 1.131 2015/10/15 08:18:23 sunil Exp $ */
/*
* Copyright (c) 2013 Eric Faurot <eric@openbsd.org>
cmd_install("monitor", do_monitor);
cmd_install("pause envelope <evpid>", do_pause_envelope);
cmd_install("pause envelope <msgid>", do_pause_envelope);
+ cmd_install("pause envelope all", do_pause_envelope);
cmd_install("pause mda", do_pause_mda);
cmd_install("pause mta", do_pause_mta);
cmd_install("pause smtp", do_pause_smtp);
cmd_install("profile <str>", do_profile);
cmd_install("remove <evpid>", do_remove);
cmd_install("remove <msgid>", do_remove);
+ cmd_install("remove all", do_remove);
cmd_install("resume envelope <evpid>", do_resume_envelope);
cmd_install("resume envelope <msgid>", do_resume_envelope);
+ cmd_install("resume envelope all", do_resume_envelope);
cmd_install("resume mda", do_resume_mda);
cmd_install("resume mta", do_resume_mta);
cmd_install("resume route <routeid>", do_resume_route);