You can whitelist IP addresses or domains, to ensure that only your IP address or your domain are allowed to send email messages to your e-mail domain. For example, it's a good idea to create an SPF record for the www.companyname.com domain, so that messages sent from your server will not be rejected by mail servers that don't trust your IP address.
Creating SPF record for OVH
Here are the steps to set up SPF for OVH :
- Login to your DNS management console
- Navigate to Tools & Settings > DNS Template
- You need to edit the DNS TXT record related to SPF
- An SPF TXT record for OVH will have the following syntax:
mydomain.com TXT v=spf1 include:mx.ovh.com -all
- Publish this record in your DNS records section for your respective domain.
Note: If you don’t have an SPF record previously for your domain, simply publish the above-mentioned record to enable SPF for outgoing emails using OVH. If you do have an existing SPF record in your DNS, you need to modify it to include OVH, as shown below:
Previous SPF record: v=spf1 mx -all
Modified SPF record: v=spf1 mx include:mx.ovh.com -all
- Save changes
- Wait for 72 hours to allow your DNS to process the changes
Finally, you can look up your record using our SPF record lookup tool, and enable DMARC for your domains: take a DMARC trial.