• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

SPF example: Can anyone please make one ?

Superkikim

Regular Pleskian
Hi,

SPF has been discussed many times over the Internet. Yes, I have found and read the openspf website. But It is still not clear to me how to handle this with Plesk.

Let's have a scenario (I take private addresses just for the example...)

plesk is installed on:

plesk.mydomain.com 10.10.10.10

then, I have 4 domains:

my1stdomain.com 10.10.10.20
my2nddomain.com 10.10.10.20
my3rddomain.com 10.10.10.30
my4thdomain.com 10.10.10.30

Based on my plesk DNS template, for each domain I have these records:

mail.<domain>. A <ip>
<domain>. MX (10) mail.<domain>.

When users send emails, they send them from mail.<domain>

Obviously, the server is returning plesk.mydomain.com with IP 10.10.10.10 in the header.

The question is:

Should I have an SPF record for each domain, or only for plesk.mydomain.com?

If for each domain, what should it be ?

If only for plesk.mydomain.com what else ?
 
http://openspf.org has a wealth of information.

However, spf records should be created for all domains that send email. if there is a [email protected] there should be an spf record in its dns that specifies all servers by hostname or ip address that are allowed to send mail for that domain.

Kev
 
Back
Top