Switch to sendmail
Fix sendmail error