Marek Podmaka: > On Sun, 23 Oct 2022 at 17:21, Markus Sch?nhaber > <postfix-us...@list-post.mks-mail.de> wrote: > > > > > warning: access table static:HOLD: with smtpd_proxy_filter specified, > > > action HOLD is unavailable > > I am using postfix-cluebringer to limit the number of sent messages > per SASL username (to slow down spam from hacked accounts) and putting > the excessive emails into the HOLD queue for manual checks. > As it is not directly possible, cluebringer just adds a custom header > to the message, and I use header_checks to actually HOLD the message > based on that header. > > https://serverfault.com/questions/698324/postfix-how-to-use-policy-service-together-with-proxy-filter >
Quoting from new text for https://www.postfix.org/SMTPD_PROXY_README.html#pros_cons One workaround is to combine a before-filter PREPEND action that outputs a unique pattern (for example containing the MTA domain name), with an after-filter header_checks rule that triggers a HOLD action. The header can be removed with an smtp_header_checks IGNORE action. Wietse