fix authentication issues using sendmail