Re: [exim] SPF

Top Page
Delete this message
Reply to this message
Author: Peter Bowyer
Date:  
To: exim-user
Subject: Re: [exim] SPF
(Please don't top-post)

On 07/04/2008, Grant Peel <gpeel@???> wrote:
> Hi all,
>
> I have SPF working for our domain and all incoming email.
>
> 1 (Last) question, I hope:
>
>
> I want to accept email from all hosts at reflexion.net, even if the spf
> fails, and then obey all other spf entries. Do these lines look right?
>
>  accept  spf           = fail
>          sender_domains = *.reflexion.net
>          endpass
>          log_message    = Accepted Reflexion
>  deny    message       = $sender_host_address is not allowed to send mail
> from \
>                          $sender_address_domain
>          spf           = fail


That will probably work, but I find it easier to seperate this into
two or more clauses, 'cos 'endpass' is sooo confusing.

Eg:

(in the main config)
hostlist spf_bypass_domains = blah.example : foo.example

(in the ACL)
accept sender_domains = +spf_bypass_domains
log_message = Accepted from $sender_address_domain

deny message = $sender_host_address is not allowed to send mail from \
$sender_address_domain
spf = fail



Peter

--
Peter Bowyer
Email: peter@???
Follow me on Twitter: twitter.com/peeebeeee