Using an SPF Record to prevent email spoofing.
I successfully followed these instructions on How To Install and Configure Postfix as a Send-Only SMTP Server on Ubuntu 14.04 to configure Postfix on my server.
My Droplet’s hostname is
dummy.domain and this is the FQDN I used to configure Postfix.
dummy.domain is of course not a real domain name, but using it I was able to send mail from
email@example.com to a Gmail account.
In the article How To use an SPF Record to Prevent Spoofing & Improve E-mail Reliability it mentions “Adding an SPF record to your DNS zone file is the best way to stop spammers from spoofing your domain. ”
However, there is no DNS zone file for
dummy.domain as it’s not a real domain. So, is it possible to create an SPF record for this hostname and if so, where should I create it?
Many thanks in advance, Steve.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×