Tag Info

Hot answers tagged

1

I have a similar set up relaying via mailgun. Firstly, you can get the public IP of an instance using: http://169.254.169.254/latest/meta-data/public-ipv4 From within the instance, in my case I use orchestration (ie. Chef + OpsWorks) to automatically create a DNS record in Route53 for the instance on boot. You could probably also use: ...


1

First, most third party SMTP gateway providers support using their service as a authenticated, encrypted relay host: sendgrid documentation Dyn documentation AWS SES documentation mailjet documentation mailgun documentation etc. etc. etc. The key is, you shouldn't have to do access control using IP addresses or hostname. You use encryption (TLS) and ...


1

sendgrid uses password based authentication (config details for that below). It won't care about your IP, or the hostnames you use (myhostname, myorigin, etc). The hostname your server presents to sendgrid in the HELO (or EHLO) greeting is likely to appear in mail headers. Some recipients' spam software may check it, so use something that does exist in ...



Only top voted, non community-wiki answers of a minimum length are eligible