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: owner-postfix-de...@postfix.org <owner-postfix-de...@postfix.org> on 
behalf of Wietse Venema <wie...@porcupine.org>
Date: Wednesday, 15 June 2022 at 8:28 PM
To: postfix-devel@postfix.org <postfix-devel@postfix.org>
Subject: Re: Quarantine message using milter
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

Reply via email to