check sendmail config for errors