update sendmail for use