It turns out that it’s a lot easier to send mail from a server with sendmail installed. View the discussion thread.