On 12/4/2019 1:55 PM, Jonathan Engbrecht wrote:
thanks all. Looks like I can mostly do this with restriction
classes, though the drop ends up being a 5xx reject rather than a
silent drop, which is a bit too bad.
tester = check_recipient_access
hash:/etc/postfix/maps/privileged_recipients, *reject*
*
*
being able to use "discard" here would be great, but doesn't appear
to be possible
You can use static:discard there.
Caution: discard is a permanent action that loses data; use
sparingly. Reject is almost always more appropriate.
-- Noel Jones