set up error email using sendmail daemon