some changes of sendmail