[exim] libspf2 issues

Top Page
Delete this message
Reply to this message
Author: Chris Knipe
Date:  
To: exim-users
Subject: [exim] libspf2 issues
Hi Guys,



I've build a new exim server to include spf support:



[user@host /home/cknipe/src/exim-4.84]# ldd build-FreeBSD-amd64/exim

build-FreeBSD-amd64/exim:

                libcrypt.so.5 => /lib/libcrypt.so.5 (0x8008fa000)


                libm.so.5 => /lib/libm.so.5 (0x800b1a000)


                libutil.so.9 => /lib/libutil.so.9 (0x800d42000)


                libmysqlclient.so.18 =>
/usr/local/lib/mysql/libmysqlclient.so.18 (0x800f54000)


                libspf2.so.2 => /usr/local/lib/libspf2.so.2 (0x8014c4000)


                libssl.so.8 => /usr/local/lib/libssl.so.8 (0x8016de000)


                libcrypto.so.8 => /usr/local/lib/libcrypto.so.8
(0x801947000)


                libpcre.so.1 => /usr/local/lib/libpcre.so.1 (0x801d4d000)


                libc.so.7 => /lib/libc.so.7 (0x801fc0000)


                libz.so.6 => /lib/libz.so.6 (0x80236a000)


                libc++.so.1 => /usr/lib/libc++.so.1 (0x802580000)


                libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x802840000)


                libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x802a5c000)


                libthr.so.3 => /lib/libthr.so.3 (0x802c6a000)




Can someone perhaps shed some light on why the ACL's don't work?

[user@host /home/cknipe/src/exim-4.84]# ./build-FreeBSD-amd64/exim -bV

Exim version 4.84 #2 built 21-Jan-2015 04:09:36

Copyright (c) University of Cambridge, 1995 - 2014

(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 -
2014

Probably Berkeley DB version 1.8x (native mode)

Support for: use_setclassresources OpenSSL Content_Scanning DKIM Old_Demime
PRDR OCSP

Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch dbm dbmjz
dbmnz dnsdb mysql

Authenticators:

Routers: accept dnslookup ipliteral manualroute queryprogram redirect

Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp

Fixed never_users: 0

Size of off_t: 8

2015-01-21 04:09:47 Exim configuration error in line 250 of
/usr/local/etc/exim/exim.conf:

  error in ACL: unknown ACL condition/modifier in "spf           = fail"




The SPF check is in the check_rcpt acl:

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


          hosts         = !+relay_from_hosts


          spf           = fail






thnx,

Chris.