fix sendmail config removal bug