How to check if Exim4 is working

To check if Exim4 is working, you can test the mail system by sending an email to your self with these SSH commands :

echo -e "test" | mail youremail@gmail.com -s EMAILTEST

Or

echo "This is a test." | mail -s Testing youremail@gmail.com