From the man page:
The smtpctl program controls smtpd(8). Commands may be abbreviated
to the minimum unambiguous prefix; for example, sh s for show stats.
What I would expect:
# smtpctl sh s
<stats output>
What actually happens:
# smtpctl sh s
possibilities are:
show mta
show envelope
show hoststats
show message
show queue
show hosts
show relays
show routes
show stats
show status
I'm guessing that 'sh s' became ambiguous with the addition of 'smtpctl
show status' in Revision 1.47 in Feb 2014. Or I don't understand what the
man page is trying to convey.
The following patch replaces 'sh s' with 'sh ro' for 'show routes'
which, as far as I can tell, is unambiguous.
Index: smtpctl.8
===================================================================
RCS file: /cvs/src/usr.sbin/smtpd/smtpctl.8,v
retrieving revision 1.50
diff -u -p -r1.50 smtpctl.8
--- smtpctl.8 27 Jul 2015 18:48:05 -0000 1.50
+++ smtpctl.8 16 Aug 2015 21:57:48 -0000
@@ -33,9 +33,9 @@ The
program controls
.Xr smtpd 8 .
Commands may be abbreviated to the minimum unambiguous prefix; for example,
-.Cm sh s
+.Cm sh ro
for
-.Cm show stats .
+.Cm show routes .
.Pp
The
.Nm mailq
Index: smtpd.conf.5
===================================================================
RCS file: /cvs/src/usr.sbin/smtpd/smtpd.conf.5,v
retrieving revision 1.127
diff -u -p -r1.127 smtpd.conf.5
--- smtpd.conf.5 11 Aug 2015 21:57:24 -0000 1.127
+++ smtpd.conf.5 16 Aug 2015 21:57:48 -0000
@@ -635,7 +635,7 @@ able to establish an SMTP session.
.Ic secure
may be specified to provide both STARTTLS and SMTPS services.
Host certificates may be used for these connections,
-and must be priorly declared using the pki directive.
+and must be declared beforehand using the pki directive.
If
.Ic pki
is specified,