Re: [exim] exim + spf

Top Page
Delete this message
Reply to this message
Author: Starchy Grant
Date:  
To: exim-users
Subject: Re: [exim] exim + spf
On 11/11/2013 04:08 AM, Boris Skegin wrote:
>   deny
>     message     = [SPF] $sender_host_address is not allowed to send mail \
>                   from $sender_address_domain.
>     log_message = SPF check failed.
>     set acl_m9  = -ipv4=$sender_host_address \
>                   -sender=$sender_address \
>                   -helo=$sender_helo_name
>     set acl_m9  = ${run{/usr/bin/spfquery $acl_m9}}
>     condition   = ${if eq {$runrc}{1}{true}{false}}

>
>
> But it does not work as it should: mails , that are to be rejected,
> get through.


Does /usr/bin/spfquery work as expected if you run it directly?