What does 

grep -R -i 'spf' /etc/exim4

Give you ?

Sent from my iPhone

> On 10 Sep 2014, at 4:40 PM, Raymond Norton <[email protected]> wrote:
> 
> Just comment out the SPF part of the ACL or use Jeremy's config which does 
> not have SPF enabled.
>> 
>> 
>> 
>> _______________________________________________
> 
> 
> Its a mystery to me why I am still getting spf errors. I am using Jeremy's 
> configs (exim4.conf, exim_out.conf, macro.conf) and commented anything I can 
> find for spf, but still getting errors;
> 
> Here is what I have:
> 
> grep -R 'spf' /etc/exim4
> 
> (All lines containing 'spf' are commented out, outside of SPF_MSG)
> 
> /etc/exim4/exim4.conf.template:  # Use spfquery to perform a pair of SPF 
> checks (for details, see
> /etc/exim4/exim4.conf.template:  # http://www.openspf.org/)
> /etc/exim4/exim4.conf.template:  # install "spf-tools-perl" which provides 
> the spfquery command.
> /etc/exim4/exim4.conf.template:  # Missing spf-tools-perl will trigger the 
> "Unexpected error in
> /etc/exim4/exim4.conf.template:#              
> http://www.openspf.org/Why?scope=${if def:sender_address_domain \
> /etc/exim4/exim4.conf.template:#    condition = 
> ${run{/usr/bin/spfquery.mail-spf-perl --ip \
> /etc/exim4/conf.d/acl/30_exim4-config_check_rcpt:  # Use spfquery to perform 
> a pair of SPF checks (for details, see
> /etc/exim4/conf.d/acl/30_exim4-config_check_rcpt:  # http://www.openspf.org/)
> /etc/exim4/conf.d/acl/30_exim4-config_check_rcpt:  # install "spf-tools-perl" 
> which provides the spfquery command.
> /etc/exim4/conf.d/acl/30_exim4-config_check_rcpt:  # Missing spf-tools-perl 
> will trigger the "Unexpected error in
> /etc/exim4/conf.d/acl/30_exim4-config_check_rcpt:#          
> http://www.openspf.org/Why?scope=${if def:sender_address_domain \
> /etc/exim4/conf.d/acl/30_exim4-config_check_rcpt:#    condition = 
> ${run{/usr/bin/spfquery.mail-spf-perl --ip \
> /etc/exim4/exim4.conf:##spf =  = fail
> /etc/exim4/exim4.conf:# #spf = _guess = fail
> /etc/exim4/macros.conf:SPF_MSG = Please see 
> http://www.openspf.org/Why?scope=${if def:sender_address_domain 
> {mfrom}{helo}};identity=${if def:sender_address_domain 
> {$sender_address}{$sender_helo_name}};ip=$sender_host_address
> 
> 
> SPF error: (service exim4 restart)
> 
> 
> 
> 2014-09-10 09:31:00 H=exchange-2.nls.k12.mn.us [64.8.148.99] 
> F=<[email protected]> rejected RCPT <[email protected]>: Please see 
> http://www.openspf.org/Why?scope=mfrom;[email protected];ip=64.8.148.99
> 
> 
> 
> Jermey's edits:
> 
> mv /etc/exim4/exim.conf /etc/exim4/exim4.conf
>         sed -i s/"\/etc\/exim"/"\/etc\/exim4"/ /etc/exim4/exim4.conf
>         sed -i -e 's/spf/#spf = /' /etc/exim4/exim4.conf
>         sed -i s/"user = exim"/"user = Debian-exim"/ /etc/exim4/exim4.conf
>         sed -i -e 's/verysecretpw/'$pssqlpass'/' /etc/exim4/macros.conf
>         sed -i -e 's/dbl_/#dbl_/' /etc/exim4/exim_out.conf
>         sed -i s/"\/etc\/exim"/"\/etc\/exim4"/ /etc/exim4/exim_out.conf
>         sed -i s/"\/etc\/exim"/"\/etc\/exim4"/ /etc/exim4/trusted-configs
>         sed -i s/"clamd.sock"/"clamd.ctl"/ /etc/exim4/exim4.conf
> _______________________________________________
> http://pledgie.com/campaigns/12056
_______________________________________________
http://pledgie.com/campaigns/12056

Reply via email to