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

Andreas Metzler ametzler at bebt.de
Fri Jun 19 16:30:13 BST 2020


On 2020-06-17 Gijs Hillenius <gijs at hillenius.net> wrote:
[...]
> Then the Debian Exim wiki showed me that I had failed to notice the
> change to spf-tools-perl as the preferred external tool for SPF
> checks.

> https://wiki.debian.org/Exim#SPF_filtering

> All of this because I started noticing that the macro for SPF support
> that came with Exim years and years ago was not (no longer?) returning a
> meaningfully warning message: it answers "none" to all warnings.

> If you use spfquery from spf-tools-perl, the fix is rather simple:
> specify you want spfquery to use version 1 (-v 1).
[...]

Hello,

I cannot reproduce that -v 1 makes a difference. Taking e.g gmx:
ametzler at argenau:/tmp$ spfquery.mail-spf-perl --ip 212.227.15.18 --scope mfrom  --identity invalidexample at gmx.net   ; echo $?
pass
gmx.net: 212.227.15.18 is authorized to use 'invalidexample at gmx.net' in 'mfrom' identity (mechanism 'ip4:212.227.15.0/25' matched)
gmx.net: 212.227.15.18 is authorized to use 'invalidexample at gmx.net' in 'mfrom' identity (mechanism 'ip4:212.227.15.0/25' matched)
Received-SPF: pass (gmx.net: 212.227.15.18 is authorized to use 'invalidexample at gmx.net' in 'mfrom' identity (mechanism 'ip4:212.227.15.0/25' matched)) receiver=argenau.bebt.de; identity=mailfrom; envelope-from="invalidexample at gmx.net"; client-ip=212.227.15.18
0
ametzler at argenau:/tmp$ spfquery.mail-spf-perl --ip 212.227.15.18 --scope mfrom  --identity invalidexample at gmx.net -v 1  ; echo $?
pass
gmx.net: 212.227.15.18 is authorized to use 'invalidexample at gmx.net' in 'mfrom' identity (mechanism 'ip4:212.227.15.0/25' matched)
gmx.net: 212.227.15.18 is authorized to use 'invalidexample at gmx.net' in 'mfrom' identity (mechanism 'ip4:212.227.15.0/25' matched)
Received-SPF: pass (gmx.net: 212.227.15.18 is authorized to use 'invalidexample at gmx.net' in 'mfrom' identity (mechanism 'ip4:212.227.15.0/25' matched)) receiver=argenau.bebt.de; identity=mailfrom; envelope-from="invalidexample at gmx.net"; client-ip=212.227.15.18
0

cu Andreas

-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the Pkg-exim4-users mailing list