No, I was not invoking bash, I was using the code I quoted previously and testing the scenarios at port 25.
An empty $sender_address variable would create a missing argument and likely break spfquery.mail-spf-perl, I haven't tested that scenario yet. $sender_host_address should always be present and sanitised by definition. condition = ${run{/usr/bin/spfquery.mail-spf-perl \ --ip $sender_host_address \ --scope mfrom \ --identity $sender_address} \ {no}{${if eq {$runrc}{1}{yes}{no}}}} -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs