summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpctl.c
diff options
context:
space:
mode:
authorSunil Nimmagadda <sunil@cvs.openbsd.org>2015-10-15 08:18:24 +0000
committerSunil Nimmagadda <sunil@cvs.openbsd.org>2015-10-15 08:18:24 +0000
commit6c0c0d948d17af9a7a5cc4a6f8d187bfedf98b1d (patch)
treede9eadff8d19af458f869a50830453938b127097 /usr.sbin/smtpd/smtpctl.c
parentaeeb91a447bd00da517adc5508f9d0337d3cb075 (diff)
Let "all" as an argument for "resume envelope", "pause envelope"
and "remove" subcommands. seems potentially useful millert@, Ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/smtpctl.c')
-rw-r--r--usr.sbin/smtpd/smtpctl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtpctl.c b/usr.sbin/smtpd/smtpctl.c
index 725c66c4efd..a198a952886 100644
--- a/usr.sbin/smtpd/smtpctl.c
+++ b/usr.sbin/smtpd/smtpctl.c
@@ -1,4 +1,4 @@
-/* $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>
@@ -955,14 +955,17 @@ main(int argc, char **argv)
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);