Comment 16 for bug 1998678

Revision history for this message
Andreas Metzler (k-launchpad-downhill-at-eu-org) wrote :

Hello,

I think this should work with (bugfix patched 4.96-16)

-------------
 condition = ${run{/usr/bin/spfquery.mail-spf-perl --ip \
               ${quote:$sender_host_address} \
        --scope \
               "${if def:sender_address_domain \
                   {mfrom}\
                   {helo}}"\
               --identity \
               "${if def:sender_address_domain \
                   {$sender_address}\
                   {$sender_helo_name}}"\
               }\
               {no}{${if eq {$runrc}{2}{yes}{no}}}}
-------------
(Yes this also drops the first --identity)