Skip to main content

Trying to setup a new IP to send mails from an EC2 instance

Comments

7 comments

  • cPRex Jurassic Moderator
    Hey there! In general, I like to keep the PTR pointed to the server's hostname, as that will still show up in the mail headers. The only time you need to create additional PTR records is if you also start adjusting the /etc/mailhelo file to change the helo banner. There's some good discussion on this in the following thread you may want to check out:
    0
  • innovaciones
    Hey there! In general, I like to keep the PTR pointed to the server's hostname, as that will still show up in the mail headers. The only time you need to create additional PTR records is if you also start adjusting the /etc/mailhelo file to change the helo banner. There's some good discussion on this in the following thread you may want to check out:
    0
  • cPRex Jurassic Moderator
    That all sounds correct to me :D The worst-case scenario is that you try it, run into issues, and then need to set up an additional PTR record. You can't really "break" anything. I'd leave the PTR as is for now, add the second IP to the SPF, and see if that has any delivery issues to a place like Gmail.
    0
  • innovaciones
    I plan doing this on this weekend on non-business hours incase anything breaks and also use the new IP for a secondary domain for testing (/etc/mailips "secondarydomain.com: 192.168.0.2"), but I'm really confused in this PTR thing lol, sorry for this question but what is the difference between asking AWS to setup a custom PTR instead using the option "add a PTR record" using cPanel DNS Zone Manager? I found this notice from this documentation How to Configure Reverse DNS for BIND in WHM | cPanel & WHM Documentation [QUOTE]If you are updating PTR records for mail purposes, it is only necessary to update the records for IP addresses that your sites use to send mail.
    So I guess I would need a new PTR for the new IP too? can I ask AWS to have 2 different IPs using the same hostname for PTR?
    0
  • cPRex Jurassic Moderator
    You wouldn't be able to configure two different IPs to point back to the same hostname, at least not with any rDNS system that I've managed in the past.
    0
  • innovaciones
    Thank you for all your help!! I really appreciate it, I'm gonna try to setup everything this weekend wish me luck, thanks!
    0
  • cPRex Jurassic Moderator
    I hope it goes well!!!
    0

Please sign in to leave a comment.