• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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@domain1.com 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