Re: DMARC without libspf2

Jeremy Harris via Exim-users <[email protected]>
Newsgroups gmane.mail.exim.user
Message-ID <[email protected]>
On 2025/07/25 3:32 AM, Moritz Orbach via Exim-users wrote:
>  I wrote an ACL that checks SPF alignment by running spfquery.pl from Mail::SPF. This works fine and adds the Received-SPF-header, but I don't know how or if I can pass the SPF alignment result into Exim in order to use the “dmarc_status” condition. Is that possible?

Not just in Exim's configuration, using a stock Exim, no.

You'd need to write an alternate SPF driver module for Exim, replacing
src/miscmods/spf.c .  It would have to call into the perl driver module -
which isn't impossible but would take some understanding of Exim's
internal design and coding.

This would be a nicely constrained project for anyone wanting to
get a start on Exim's internals and development.  I'd suggest casting
it as an Experimental item.
-- 
Cheers,
   Jeremy

-- 
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   [email protected]
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.