curl -O ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/exim-4.30.tar.gz gnutar -xvzf exim-4.30.tar.gz cd exim-4.30
cp src/EDITME Local/Makefile open -e Local/Makefile
EXIM_USER= exim
LOOKUP_DSEARCH=yes
#EXIM_MONITOR=eximon.bin
AUTH_CRAM_MD5=yes
AUTH_PLAINTEXT=yes
AUTH_SPA=yes
SUPPORT_TLS=yes
TLS_LIBS=-lssl -lcrypto
TLS_LIBS=-L/usr/include/openssl -lssl -lcrypto
TLS_INCLUDE=-I/usr/include/openssl/
LOG_FILE_PATH=/var/log/exim_%slog
end of editing Makefile
open -e OS/Makefile-Darwin
- LIBS=-lresolv
+LIBS=
open -e OS/os.h-Darwin
+#define socklen_t int
make sudo make install
To configure your exim, read Joel Rennich's article at this link.