adrian18w wrote:
So how can I create a spf for a subdomain in the Linode DNS manager?
Add a new txt record, and set the "name" field in the linode DNS manager to the subdomain.
Quote:
- adrianm.com
name: mail
value: v=spf1 a -all
It is also
good practice to set an SPF record for any hosts that do not send mail. So my normal SPF setup for a domain where I send and receive all mail for the domain on the same host will look something like so:
Code:
Name Value
v=spf1 mx -all
mail v=spf1 a -all
www v=spf1 -all
The first line means any mail from @example.com must originate from the server(s) that receive mail for @example.com.
The second line means mail from @mail.example.com must originate from the host mail.example.com, and it also means that
any host that uses a HELO greeting of mail.example.com must match the IP for mail.example.com.
The last line says all mail claiming to be from @www.example.com should be discarded. Any host that has an A record but doesn't send mail can be given one of these lines.