Configure SPF for Zimbra mail server 8.8.12

Share this post to your friends !

This entry is part 5 of 7 in the series Install Zimbra Mail Server 8.8.12
Configure SPF for Zimbra mail server 8.8.12
5 (100%) 1 vote[s]

SystemMen - This article, I will guide you how to configure SPF for Zimbra mail server 8.8.12.

Next of the article configuring DKIM, we will now continue to configure the SPF.

What is an SPF?

Right, first, we need to know what SPF is? Why do we need to configure it?

According to Zimbra, SPF defines:

Sender Policy Framework (SPF) is an email validation system, designed to prevent unwanted emails using a spoofing system. To check this common security problem, SPF going to verify the source IP of the email and compare it with a DNS TXT record with a SPF content.

So, like DKIM, SPF help the receiving mail system confirm whether the email sent is real or fake?

Validating through the contents of the DNS record contains the IP of the mail server.

You can look at the image below and find out more information about it at this page.

configure-spf-for-zimbra-mail-server-8-8-12-01 Configure SPF for Zimbra mail server 8.8.12
The image describes how SPF works. Source: Zimbra.

So can you understand why we need to configure it?

That’s because every email that your Zimbra server sends, other mail servers around the world will check for SPF information before deciding whether to put it in inbox or spam or block mail.

Configure SPF for Zimbra mail server

Actually, it’s because you’re running the mail server with Zimbra. And your mail domain is on this server.

The SPF configuration is not the same as DKIM, it does not manipulate anything on the Zimbra server. In essence, it is understandable that we are configuring SPF for domain mail, rather.

Note: SPF needs to be configured on public DNS, not on Zimbra server or your internal DNS.

Use SPF Record Generator to create an SPF record

Again, we will use MXToolbox again to do this. Why is that? This is because we need to create a public DNS record. But what is the content of that record?

MXToolbox provides a tool called SPF Record Generator. You only need to declare your information in the data fields.

And this tool will create content for DNS records for you.

  • Step 1: type domain mail domain to box name Domain Name or URL and press button Check SPF Record.
  • Step 2: fill all data fields in SPF WIZARD to get final dns record.
configure-spf-for-zimbra-mail-server-8-8-12-02 Configure SPF for Zimbra mail server 8.8.12
Use SPF Record Generator to create an SPF record.

At the “How strict should should the SPF Policy be?”

You have 4 choices (this explanation is based on information from Zimbra):

  1. --: do not choose anything
  2. Strict: will only mark the email like pass if the source Email Server fits exactly, IP, MX, etc. with the SPF entry
  3. Neutral: without policy
  4. Soft Fail: allows to send the email, and if something is wrong will mark it like softfail

Usually, we will choose number 4.

Create DNS record for SPF

Based on the content Suggested Record, you need to create a record with the following content:

Host recordTypeValue
@TXT“v=spf1 a mx a:mail.yourdomain.com ip4:192.168.10.10 ~all”

Note: Put content Value of SPF records in double quotes

Check that the SPF record is set correctly

You open the SPF test tool on MXToolbox. Enter your domain and click SPF Record Lookup button.

The returned result should look like the image below. Every Test step is green.

configure-spf-for-zimbra-mail-server-8-8-12-03 Configure SPF for Zimbra mail server 8.8.12
Check that the SPF record is set correctly.

Conclusion

So I showed you how to configure SPF for Zimbra mail server successfully. You can do the same with all domains in your Zimbra server. For each new domain, simply repeat the creation of the SPF record as in this article. Next article, I will talk about DMARC.

Continue reading the series«« Previous part: Configure DKIM for Zimbra mail server 8.8.12Next part: Configure DMARC for Zimbra mail server 8.8.12 »»
If you liked this article, then please subscribe to our YouTube Channel for more video tutorials. You can also find us on Twitter and Facebook.


Share this post to your friends !
If you appreciate what we share in this blog, you can support us by:
  1. Stay connected to: Facebook | Twitter | Google Plus | YouTube
  2. Subscribe email to recieve new posts from us: Sign up now.
  3. Start your own blog with SSD VPS - Free Let's Encrypt SSL ($2.5/month).
  4. Become a Supporter - Make a contribution via PayPal.
  5. Support us by purchasing Ribbon Lite Child theme being using on this website.

We are thankful for your support.

«« »»

Got something to say? Join the discussion

Please keep in mind that all comments are subject to our Comment Policy. Your email address will not be published.
This site uses Akismet to reduce spam. Learn how your comment data is processed.