sendmail cleanup