Fix sendmail cycle