ok first off we need to install exim with the follwing commands:
apt-get install exim && apt-get install system-switch-mail
After this run the command:
This will bring up a nice graphical box asking you if you want to use sendmail or exim, select exim.
After that we want to check that exim is automatically configured:
chkconfig exim on
The we need to add an alias to the exim mail client so run:
Then add in an alias for example:
From there we need to add a colon and type wq (this is for write and quit)
After this we need to restart exim:
service exim restart
Then we need to test that exim works! Otherwise we did something wrong:
echo “test”\mail -s “$HOSTNAME” email@example.com
This should print out something similar to this:
testmail -s “hostname” (where you sent the mail from) firstname.lastname@example.org
That is your exim mail client up and running!