I had Debian 9 server with exim4-daemon-heavy which supported SPF and DMARC. After upgrade to Debian 11 I see that exim4-daemon-heavy does no longer assume supporting those features. Looks like a bad joke. But maybe I don't know something.
Could you please advice how to use or maybe configure SPF and DMARC support in fresh versions of Exim4 in Debian.
p.s. I mean except building exim4 from sources.
Thank you.
At least in terms of SPF, no, it doesn't.
The wiki page explains:
Perhaps more helpfully, if you would like SPF support it you only need to
Then, I have a file at /etc/exim4/conf.d/01a_exim4-config_custom into which I put:
That variable (macro?) is checked in
acl/30_exim4-config_check_rcptNb. if you use the combined file aproach, instead of split config files you'll need to dig for the right place for this. Also remember to run
systemctl stop exim4; update-exim4.conf; systemctl start exim4after editing.