If you have an email domain, you need to set up your SPF record. Without an SPF record, it is possible for spammers to send out emails that look like it's coming from your address.
Creating SPF record for Mailkit
Here are the steps to set up SPF for Mailkit :
- 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 Mailkit will have the following syntax:
mydomain.com TXT v=spf1 include:spf.mailkit.eu -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 Mailkit. If you do have an existing SPF record in your DNS, you need to modify it to include Mailkit, as shown below:
Previous SPF record: v=spf1 mx -all
Modified SPF record: v=spf1 mx include:spf.mailkit.eu -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.