Plesk for Windows
Plesk for Linux
kb: how-to
ABT: Group B
Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
How to configure host mail and SPF record in Plesk if DNS is hosted externally?
Answer
In the External DNS server use the following Setting:
CONFIG_TEXT: Host Record Type Value
example.com. MX (10) mail.example.com.
mail.example.com. A <localServer.IP>
webmail.example.com. A <localServer.IP>
Note: Replace <localServer.IP>
with the proper external server IP address.
If an SPF record persists for a domain, corresponding record should be created as well:
CONFIG_TEXT: Host Record Type Value
example.com. TXT v=spf1 +a +mx +a:<localServer.IP> -all
Comments
4 comments
Hi Dmitry Surovtsev,
My apologies, we will need to change <localServer.IP> by real server IP, right?
Hello @Ben Rafael,
You are right, placeholder <localServer.IP> should be replaced by an actual server IP-Address.
For example:
CONFIG_TEXT: Host Record Type Value
example.com. MX (10) mail.example.com.
mail.example.com. A 203.0.113.2
Hello ! I'm currently moving an old website from OVH into a new plesk installation I host myself.
I want to keep the OVH webmail so my client doesn't have to change to a new one.
The old OVH DNS rules are
website.com. MX mail.website.com.
mail.website.com. CNAME ns0.ovh.com.
So in theory, from my new plesk DNS if I the same CNAME rules towards ns0.ovh.com. My emails should be sent back to the old webmail, right ?
Hi,
If you will continue hosting mail on OVH and use Plesk only for website hosting, when above should work.
Please sign in to leave a comment.