[exim] exim + spf

Top Page
Delete this message
Reply to this message
Author: Boris Skegin
Date:  
To: exim-users
Subject: [exim] exim + spf
Hi.

I want to use SPF within Exim.

Found this http://www.tldp.org/HOWTO/Spam-Filtering-for-MX/exim-spf.html

A.7.2. SPF checks via Mail::SPF::Query
# Use "spfquery" to obtain SPF status for this particular sender/host.
  # If the return code of that command is 1, this is an unauthorized sender.
  #
  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.

Any hints.

Thanks in advance.

Boris