Exim 4.41 + Exiscan 4.41-24 + libspf2 1.0.4

"Rich, WhidbeyNET NOC" <[email protected]>
Newsgroups gmane.mail.exim.exiscan.user
Message-ID <[email protected]>
We've been using Exiscan for a while under Exim 4.30.  During our 
upgrade cycle to 4.41, we thought we'd try to implement SPF.

After installing libspf2 1.0.4, we tried to compile Exim 4.41 with the 
latest Exiscan 4.41-24 patch, with the following in the Makefile:

CFLAGS=-DSPF -I/usr/local/include
EXTRALIBS_EXIM=-L/usr/local/lib -lpam -lspf2
WITH_SPF=yes

The only compile error was in "spf.h", for these 3 includes:

#include <spf_alt/spf.h>
#include <spf_alt/spf_dns_resolv.h>
#include <spf_alt/spf_dns_cache.h>

It looks like they weren't renamed to "spf2/" when libspf changed its 
name, so we changed them, and it compiled file.

However we cannot get any SPF lookup to complete in Exim. Here's an 
example test ACL:

acl_check_mail:
         deny    spf = !fail
                 message = SPF: $spf_header_comment Comment: 
$spf_smtp_comment

It only generates this in exim -bd -d:

  2488 SMTP<< mail from:[email protected]
  2488 using ACL "acl_check_mail"
  2488 processing "deny"
  2488 check spf = !fail
  2488 SPF result is error (5)
  2488 deny: condition test succeeded
  2488 SMTP>> 550 SPF:  Comment:
  2488 LOG: MAIN REJECT
  2488   H=[209.166.64.90] rejected MAIL [email protected]: SPF:  Comment:
  2488 SMTP<< QUIT

The only thing being returned is "error_temp" (5). Since there is 
nothing being returned for any spf return values we've tried, we are 
having trouble isolating the problem.

The "spfquery" command-line tool functions just fine:

/spfquery -ip=209.166.64.124 [email protected]
pass
spfquery: domain of whidbey.net designates 209.166.64.124 as permitted 
sender

We also tried removing, and then installing lower versions, of libspf2 
with no success.

Can anyone suggest some better debugging methods, short of going 
through Exim and the SPF code to insert breakpoints?

Thanks!

Rich
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.