On Thu, Feb 25, 2016 at 10:17:55AM -0800, Seth wrote:
> On Tue, 23 Feb 2016 21:44:22 -0800, Sunil Nimmagadda <su...@nimmagadda.net>
> wrote:
> >This was committed the same day as I shared the diff on list...
> >
> >commit 376147cc2686eca13e1ade1d121be2c5074c178b
> >Author: Sunil Nimmagadda <su...@nimmagadda.net>
> >Date:   Thu Jul 2 19:38:07 2015 +0530
> >
> >    Let "resume envelope", "pause envelope" and "remove" subcommands
> >    accept "all" as a valid argument.
> 
> That's odd because it does not seem to be available in the 5.7.3 release
> 
> $ sudo smtpd -h
> version: OpenSMTPD 5.7.3
> usage: smtpd [-dhnv] [-D macro=value] [-f file] [-P system] [-T trace]
> 
> $ sudo smtpctl remove all
> possibilities are:
> remove <evpid>
> remove <msgid>
> 

yes, the release was a bugfix release, new features were not backported.

remove all will be part of the next major release scheduled in 2 months.

in the meantime (untested):

   smtpctl show queue |\
           cut -d\| -f1 |\
           while read line; do smtpctl remove ${line}; done

-- 
Gilles Chehade

https://www.poolp.org                                          @poolpOrg

-- 
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Reply via email to