Re: exim4 & spf: #377034 & #258210
Take matters into your own hands. :)
The following is what I used to do to run exim4 4.50 with SPF checking.
I think that the same broad steps will also apply to more recent versions
of the package.
# apt-get install build-essential libspf2-dev fakeroot
# apt-get build-dep exim4
$ apt-get source exim4
$ cd exim4-4.50
$ debian/rules unpack-configs
$ cp EDITME.exim4-heavy EDITME.exim4-spf
$ editor EDITME.exim4-spf
change lines 346-349(?):
EXPERIMENTAL_SPF=yes
CFLAGS += -I/usr/include/spf2
LDFLAGS += -lspf2
$ debian/rules pack-configs # if there is an error here, ignore it(?)
$ bash debian/create-custom-package spf
$ fakeroot debian/rules builddaemonpackages=exim4-daemon-spf buildbasepackages=no binary
You will then have an exim4-daemon-spf package built in the parent
directory.
--
Sam Morris
http://robots.org.uk/
PGP key id 5EA01078
3412 EA18 1277 354B 991B C869 B219 7FDB 5EA0 1078
Reply to: