Sendmail relay out of Amazon EC2?

Posted by Stephen Belanger on Server Fault See other posts from Server Fault or by Stephen Belanger
Published on 2010-05-21T18:40:17Z Indexed on 2010/05/21 18:51 UTC
Read the original article Hit count: 307

Filed under:
|
|
|

I have a site running on CentOS 5.4 through Amazon EC2. Unfortunately, Amazon has had nothing but trouble with their entire IP range getting black listed from spam tracking services regularly. I need a mail server, so I setup an smtp server elsewhere that I want to send to, but I can't just send directly to it through PHP because the direct smtp request is way too slow. What I want to do is relay through sendmail, but I've never used sendmail before, so I have no idea how to configure it. All I want is for all emails sent from localhost to be relayed to one specific external server, but I don't know how to do that. I tried to find a tutorial online, but couldn't find anything that was particularly clear as to how I go about doing that. Can anyone help me out?

© Server Fault or respective owner

Related posts about sendmail

Related posts about php