Hi Wietse,
We are still stuck on quarantining the message. I have come
across one of your post https://www.tek-tips.com/viewthread.cfm?qid=1618714
It says that “1 - make sure you have a quarantine directory configured, 2 - set
the spam destiny to D_DISCARD, 3 - configure your spam_admin as the email
address you would like the spam notification to go to.”
I am not sure how to set that. We are using a java milter implementation and
finding its difficult to track an email once its marked as SPAM.
I would appreciate your help.
Regards,
Ranjan
From: [email protected] <[email protected]> on
behalf of Wietse Venema <[email protected]>
Date: Wednesday, 15 June 2022 at 8:28 PM
To: [email protected] <[email protected]>
Subject: Re: Quarantine message using milter
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