On 7/2/2015 1:52 PM, Viktor Dukhovni wrote:
On Thu, Jul 02, 2015 at 01:44:45PM -0400, Rod K wrote:
Using "FILTER {destination}" one can use a policy server to set/override an
after queue filter, but is there anyway to set/override a before queue proxy
filter from a policy server?
No, and you can't even specify "FILTER" directives to an SMTP server
that uses a before queue proxy. Any FILTER directives must happen
in the downstream smtpd(8) that receives messages processed by the
pre-queue proxy.
Hmmm, been thinking about what you wrote here. Is a proxy filter called
before or after check_policy_service under
smtpd_recipient_restrictions? If after, would the proxy filter also be
called once per recipient? My thinking here is using PREPEND to set
how the proxy filter should handle content.