Jesper Dybdal:
> I run Amavis as a before-queue filter, and opendmarc in the after-Amavis
> smtpd instance.
Why not use Amavis as a before-queue MILTER? Then there is no need
to propagate remote SMTP client info through non-Postfix programs.
Postfix supports XFORWARD for logging which requires a low level
of trust, because information from XFORWARD has no effect on SMTP
server policies. XFORWARD could be used to integrate with a remote
provider that sends you cleaned email.
XCLIENT is for impersonation, which requires a high level of trust
because information from XFORWARD will affect SMTP server policies.
So we should not mix up XFORWARD with XCLIENT.
Does it make sense to send XCLIENT into a content filter? It would
not be difficult to add, but all filters of interest have a MILTER
API nowadays, so people can use that instead.
Wietse