Re: [exim] SPF not working in Exim 4.91 ?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Odhiambo Washington
Dátum:  
Címzett: Mike Tubby
CC: exim users
Tárgy: Re: [exim] SPF not working in Exim 4.91 ?
Hi Mike,

You can find my Makefile at https://lists.my.co.ke/~wash/Makefile.txt
Last time I used it to compile exim-4.92RC4, which is what I am running on
lists.my.co.ke.

root@lists:/home/wash/public_html# exim -bV
Exim version 4.92-RC4 #5 built 27-Dec-2018 23:32:52
Copyright (c) University of Cambridge, 1995 - 2018
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 -
2018
Berkeley DB: Berkeley DB 5.3.28: (September 9, 2013)
Support for: crypteq iconv() IPv6 Perl Expand_dlfunc TCPwrappers OpenSSL
Content_Scanning DANE DKIM DNSSEC Event OCSP PRDR PROXY SOCKS SPF
TCP_Fast_Open Experimental_QUEUEFILE Experimental_ARC Experimental_DCC
Experimental_DMARC Experimental_DSN_info
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch dnsdb
dsearch mysql passwd redis sqlite
Authenticators: cram_md5 dovecot plaintext tls
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram
redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe queuefile
smtp
Malware: clamd sock cmdline

You can use that for your Local/Makefile and see. My Server is
Ubuntu 18.04.1 LTS.



On Wed, 16 Jan 2019 at 16:22, Mike Tubby via Exim-users <exim-users@???>
wrote:

> Ubuntu 16.04.5 LTS
>
> On 15/01/2019 12:20, Odhiambo Washington via Exim-users wrote:
> > On Tue, 15 Jan 2019 at 13:04, Mike Tubby via Exim-users <
> exim-users@???>
> > wrote:
> >
> >> I have been using Exim-4 built from source with SPF from libspf2:
> >>
> >>       https://github.com/Exim/exim/wiki/SPF

> >>
> >> for several years and when a new version is issued I grab the tarball,
> >> copy over Local/Makefile from the previous release and:
> >>
> >>       make configure
> >>       make
> >>       make install

> >>
> >> and all is usually well, however in attempting to go from Exim 4.89 to
> >> 4.91 I can see there have been some changes:
> >>
> >> https://fossies.org/diffs/exim/4.90.1_vs_4.91/src/spf.c-diff.html
> >>
> >> So I've altered my Local/Makefile
> >>
> >>
> >>
> #------------------------------------------------------------------------------
> >> # Compiling Exim with experimental features. These are documented in
> >> # experimental-spec.txt. "Experimental" means that the way these
> >> features are
> >> # implemented may still change. Backward compatibility is not
> guaranteed.
> >>
> >> # Uncomment the following lines to add SPF support. You need to have
> >> libspf2
> >> # installed on your system (www.libspf2.org). Depending on where it is
> >> installed
> >> # you may have to edit the CFLAGS and LDFLAGS lines.
> >>
> >> #EXPERIMENTAL_SPF=yes
> >> SUPPORT_SPF=yes
> >> #CFLAGS += -I/usr/local/include
> >> LDFLAGS += -lspf2
> >>
> >> # Uncomment the following lines to add SRS (Sender rewriting scheme)
> >> support.
> >> # You need to have libsrs_alt installed on your system (srs.mirtol.com
> ).
> >> # Depending on where it is installed you may have to edit the CFLAGS and
> >> # LDFLAGS lines.
> >>
> >> EXPERIMENTAL_SRS=yes
> >> CFLAGS += -I/usr/local/include
> >> LDFLAGS += -lsrs_alt
> >> #LDFLAGS += -lsrs2
> >>
> >> and it compiles and links without error, however the SPF ACLs in my
> >> exim.conf are not recognised and it throws errors:
> >>
> >>
> >> 2019-01-12 10:59:55 Exim configuration error in line 715 of
> >> /etc/exim/exim.conf:
> >>     error in ACL: unknown ACL condition/modifier in "warn spf = !none"
> >> 2019-01-12 11:02:01 Exim configuration error in line 843 of
> >> /etc/exim/exim.conf:
> >>     error in ACL: unknown ACL condition/modifier in "spf = pass"
> >> 2019-01-12 11:02:19 Exim configuration error in line 846 of
> >> /etc/exim/exim.conf:
> >>     error in ACL: unknown ACL condition/modifier in "deny spf = fail"
> >> 2019-01-12 11:11:33 Exim configuration error in line 715 of
> >> /etc/exim/exim.conf:
> >>     error in ACL: unknown ACL condition/modifier in "warn spf = !none"
> >> 2019-01-12 11:13:39 Exim configuration error in line 715 of
> >> /etc/exim/exim.conf:
> >>     error in ACL: unknown ACL condition/modifier in "warn spf = !none"

> >>
> >>
> >> Can someone point me in the right direction?
> >>
> >>
> > What's your OS?
> >
> >
>
> --
> ## List details at https://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/
>



--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)