On 2025-11-03 at 11:36:17 UTC-0500 (Mon, 3 Nov 2025 17:36:17 +0100)
Edgar Fuß via Postfix-users <[email protected]>
is rumored to have said:
[...]
Just for completeness, a check_recipient_access 'hold' action would
accept a message for that recipient and freeze it in the queue until
it is released with the postsuper -H option.
That would seem like the best solution to me. Is that documented anywhere?

Yes. From 'man 5 access' there is this:


    HOLD optional text...
Place the message on the hold queue, where it will sit until someone either deletes it or releases it for delivery. Log the optional text if specified,
         otherwise log a generic message.

Mail that is placed on hold can be examined with the postcat(1) command, and
         can be destroyed or released with the postsuper(1) command.

Note: use "postsuper -r" to release mail that was kept on hold for a significant fraction of $maximal_queue_lifetime or $bounce_queue_lifetime, or longer. Use "postsuper -H" only for mail that will not expire within a few
         delivery attempts.

Note: this action currently affects all recipients of the message.

         This feature is available in Postfix 2.0 and later.

--
Bill Cole
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to