Viktor Dukhovni: > Release all quarantined mail from "harml...@example.net" to > "artl...@example.org" (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 == "harml...@example.net" and > (.recipients[].address == "artl...@example.org"))) > | .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