How to set up a SPF Sender Policy Framework for AWS EC2 instance

0 votes

I did create a DNS entry but I have no idea what to put in place for the SPF record.What is the correct syntax to create a proper SPF record for EC2 amazon server?

Aug 16, 2018 in AWS by datageek
• 2,540 points
1,684 views

1 answer to this question.

0 votes

Setting up a SPF record is pretty easy. You can follow the steps that i have listed below:

  • Provision an Elastic IP for your server
  • Setup an "A" record for the server which will be sending mail with your preferred registrar
  • Contact amazon and ask for a reverse dns record for the IP.
  • Add the following somewhere in your SPF record and you should be good to go: app-svr-01.youdomain.com
Note: If you need to relay mail through this server from your other AWS servers, or communicate between servers in any other way, you should not use this new FQDN, but use the AWS FQDN from the AWS console (it will look like ec2-xxx-xxx-xx-xx.compute-1.amazonaws.com).
answered Aug 16, 2018 by Archana
• 4,170 points

Related Questions In AWS

0 votes
3 answers
0 votes
0 answers

How to specify Ec2 Instance Attributes in a AWS::EMR::Cluster CloudFormation Template?

Very new to AWS and looking at ...READ MORE

Feb 10, 2022 in AWS by Rahul
• 2,120 points
584 views
0 votes
0 answers
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,059 views
+2 votes
1 answer
0 votes
1 answer

How to upload a lib for Tomcat in Amazon EC2?

You need to set the proper privileges ...READ MORE

answered Aug 20, 2018 in AWS by Archana
• 4,170 points
945 views
0 votes
1 answer

How to set-up DynamoDB trigger using AWS Lambda?

Well this code worked for me. You ...READ MORE

answered Aug 20, 2018 in AWS by Archana
• 4,170 points
2,856 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP