[Pkg-exim4-users] SPF, update for the default example & documentation

Andreas Metzler ametzler at bebt.de
Thu Jun 25 13:02:03 BST 2020


On 2020-06-22 Gijs Hillenius <gijs at hillenius.net> wrote:
> Good afternoon Andreas

> Thanks for looking into this. As a result, I've been chasing my own tail
> to figure out under which conditions I get "spf none" results; because
> like you say, it does not seem to have anything to do with "-v 1".
[...]

Hello Gijs,

responding on-list ...

Thanks for doublechecking that -v 1 is not necessary.

For the current Debian exim packages we are using 

condition = ${run{/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}}}}

i.e. we are using the "Preferred usage" instead of "Legacy usage"
options and we check either helo or mail-from.

(I think the first --identity should be deleted, BTW)

Actually that was already present in 4.92-8+deb10u4 - I guess you need
to merge in Debian's configuration changes into your local
configuration.

cu Andreas



More information about the Pkg-exim4-users mailing list