One extra thing I tried, is to use the condition check logic Jammy is
using by default (which I tested a jammy system does have working SPF),
except I added preexpand like [0] mentions to use the "old" parsing
method. This didn't work, but just putting my attempt here for future
reference:

    condition = ${run,preexpand {/usr/bin/spfquery.mail-spf-perl --ip \
                   ${quote:$sender_host_address} --identity \
                   ${if def:sender_address_domain \
                       {--scope mfrom  --identity ${quote:$sender_address}}\
                       {--scope helo --identity ${quote:$sender_helo_name}}}}\
                   {no}{${if eq {$runrc}{1}{yes}{no}}}}

[0] -
https://github.com/Exim/exim/commit/cfe6acff2ddc7eb03b3489770219edf829abd323

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2056372

Title:
  Enabling SPF checks with CHECK_RCPT_SPF doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/exim4/+bug/2056372/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to