DRAFT, to be completed, but this still might help you:
This was for an Rpi B with 512MB RAM. Raspbian Jessie.
This is a custom exim 4.86 TLS build to use OpenSSL instead of GNUTLS.
Follow the instructions here, to secure your Rpi: Setting up your pi ; if you don’t do this “they” will take it over in minutes, once you enable the ssh port forwards in your router.
P.S. for the “Jessie” distribution, the static IP address instructions above do not work. You need to edit /etc/dhcpcd.conf (read it! not dhcpd.conf, but dhcpcd.conf).
DO NOT set the static IP address until you have disabled the “pi” account and root login.
Log in as your new user.
# apt-get install update
# apt-get install upgrade
Have a coffee.
apt-get install -y bind9 clamav-daemon dnsutils libdb5.3-dev libldap2-dev libpcre3-dev libssl-dev libxaw7-dev libxt-dev slapd whois ftp
Have some food.
useradd -s /bin/false -g exim -U exim
after checking the checksum:
tar xvfz exim-4.86.tar.gz
Copy in the makefiles to ./Local (to be uploaded soon).
… to be continued…