Shell script for testing emails sending via sendmail