Viktor Dukhovni: > Release all quarantined mail from "[email protected]" to > "[email protected]" (and any other recipients of the same message > envelope): > > # jq -r ' > first(select(.queue_name == "hold" and > (.queue_id | test("^[0-9A-F]+$")) and > .sender == "[email protected]" and > (.recipients[].address == "[email protected]"))) > | .queue_id > ' | postsuper -H hold
Did you mean: postqueue -j ... | jq ... | postsuper -H - hold postsuper censors the queue IDs that are read from stdin. ` Wietse
