exiscan & spf: the same problem.

Igor Karpov <[email protected]>
Newsgroups gmane.mail.exim.exiscan.user
Message-ID <[email protected]>
Hi!

I have to say that I've got the same strange problem with SPF.

FreeBSD 4.9-RELEASE-p10 i386

exim built from ports with the following arguments:

WITHOUT_IPV6=yes WITHOUT_MAILDIR=yes WITHOUT_MAILSTORE=yes
WITHOUT_MBX=yes WITH_PGSQL=yes WITHOUT_PWCHECK=yes WITH_SPF=yes
WITH_SRS=yes

%ldd /usr/local/sbin/exim
/usr/local/sbin/exim:
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x281ac000)
libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x2829a000)
libpam.so.1 => /usr/lib/libpam.so.1 (0x282b3000)
libspf2.so.1 => /usr/local/lib/libspf2.so.1 (0x282bd000)
libsrs2.so.0 => /usr/local/lib/libsrs2.so.0 (0x282d4000)
libpq.so.3 => /usr/local/lib/libpq.so.3 (0x282d9000)
libm.so.2 => /usr/lib/libm.so.2 (0x282f4000)
libc.so.4 => /usr/lib/libc.so.4 (0x28310000)
libutil.so.3 => /usr/lib/libutil.so.3 (0x283ab000)
libssl.so.3 => /usr/lib/libssl.so.3 (0x283b4000)
libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x283e4000)
libintl.so.6 => /usr/local/lib/libintl.so.6 (0x284e2000)

%exim -bV
 Exim version 4.41 #0 built 17-Aug-2004 16:58:46
 Copyright (c) University of Cambridge 2004
 Probably Berkeley DB version 1.8x (native mode)
 Support for: iconv() PAM Perl OpenSSL
 Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb
 dsearch nis nis0 passwd pgsql
 Authenticators: cram_md5 plaintext spa
 Routers: accept dnslookup ipliteral manualroute queryprogram redirect
 Transports: appendfile autoreply lmtp pipe smtp
 Fixed never_users: 0
 Contains exiscan-acl patch revision 24 (c) Tom Kistner
 [http://duncanthrax.net/exiscan/]
 Configuration file is /usr/local/etc/exim/configure
 

BTW,

%strings /usr/local/sbin/exim-4.41-0 | grep -i spf
libspf2.so.1

I've successfully compiled the same version of exim on four different
boxes running FreeBSD 5.2.1 - everything is fine:

%strings /usr/local/sbin/exim-4.41-0 | grep -i spf
libspf2.so.1
SPF_create_config
SPF_strresult
SPF_set_helo_dom
SPF_set_env_from
SPF_dns_create_config_cache
SPF_result
SPF_set_ip_str
SPF_dns_create_config_resolv
spf_result
spf_received
spf_smtp_comment
spf_process
spf_header_comment
spfdcid
spfdcid_resolv
spf_init
spfcid
spf_header_comment
spf_received
spf_result
spf_smtp_comment
ASPF result is %s (%d)
spf: SPF_create_config() failed.
spf: SPF_dns_create_config_cache() failed.
spf: SPF_set_ip_str() failed.
spf: SPF_set_helo_dom() failed.


But there are another reports. At least one person successully built
exim with spf support on 4.x, but cannot make it work with the same
symptoms on 5.2.1, so OS version makes no difference.

We also had a report from at least one Linux person (OpenNA Linux 1.0):

$ uname -a
Linux gtw 2.4.26-1 #1 Sat May 15 13:21:14 EDT 2004 i686 unknown unknown
GNU/Linux 

$ exim -bV -C exim.conf-spf
Exim version 4.41 #1 built 04-Aug-2004 14:58:18
Copyright (c) University of Cambridge 2004
Berkeley DB: Sleepycat Software: Berkeley DB 4.1.25: (December 19, 2002)
Support for: iconv() Perl OpenSSL
Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz mysql
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply pipe smtp
Fixed never_users: 0
Contains exiscan-acl patch revision 24 (c) Tom Kistner
[http://duncanthrax.net/exiscan/]
2004-08-17 18:02:52 Exim configuration error in line 324 of
exim.conf-spf:
  error in ACL: unknown ACL condition/modifier in "!spf=pass"

Something goes wrong.

Regards,
-- 
	   OK, so you're a Ph.D. Just don't touch anything.
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.