I run Amavis as a before-queue filter, and opendmarc in the after-Amavis
smtpd instance.
I would like to use smtpd_milter_maps to exclude some networks from the
DMARC check.
But it does not seem to work. My guess is that this is because the
smtpd instance that should do this comes after Amavis, and thus gets all
its connections from localhost. And it seems not to respect XFORWARD.
Similarly, it seems that the XFORWARD data are not sent to the milter,
so that opendmarc's own configuration option to ignore some IP address
does not work either.
If my guesses here are correct: would it not be a good idea to let smtpd
use the data from XFORWARD when looking addresses up in
smtpd_milter_maps and when communicating with milters?
(I'm beginning to suspect that perhaps my setup it is not a really good
idea - but I do like having Amavis as a pre-queue filter.)
Versions, all from Debian 10.12 (Buster): postfix 3.4.14,
amavisd-new-2.11.0 (20160426), opendmarc 1.3.2.
Thanks,
Jesper
--
Jesper Dybdal
https://www.dybdal.dk