By nuxx
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 user@dummy.domain 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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Without a zone file, there’s no real way of creating one that I’m aware of, as SPF is just a type of DNS record.
Also, if the domain isn’t real and/or doesn’t functionally resolve anywhere, there’s no way for other servers to perform queries on its DNS records. Even if the SPF record were to exist locally, there’d be no way for your email’s recipient and/or other mail providers to get that information, thus rendering the local SPF record function-less.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.