Re: spamdb: allow keys to be specified in list mode

2017-10-21 Thread Todd C. Miller
I have an OK on the man page bits. Anyone else want to chime in? - todd On Wed, 18 Oct 2017 10:22:00 -0600, "Todd C. Miller" wrote: > I often want to query a specific key instead of dumping out the > entire database. This lets you do things like: > > $ spamdb 180.124.41.143 > TRAPPED|180.124

Re: spamdb: allow keys to be specified in list mode

2017-10-18 Thread Jason McIntyre
On Wed, Oct 18, 2017 at 10:22:00AM -0600, Todd C. Miller wrote: > I often want to query a specific key instead of dumping out the > entire database. This lets you do things like: > > $ spamdb 180.124.41.143 > TRAPPED|180.124.41.143|1508373987 > > or: > > $ spamdb 74.125.198.26 180.124.41.143 10

spamdb: allow keys to be specified in list mode

2017-10-18 Thread Todd C. Miller
I often want to query a specific key instead of dumping out the entire database. This lets you do things like: $ spamdb 180.124.41.143 TRAPPED|180.124.41.143|1508373987 or: $ spamdb 74.125.198.26 180.124.41.143 107.161.26.205 WHITE|74.125.198.26|||1506223558|1506223558|1509333958|1|0 TRAPPED|18