# Does GFI Mail Essentials 20.1 support full SPF specification

Sender Policy Framework (SPF) is a simple email-validation system designed to detect email spoofing by providing a mechanism to allow…

blog

17 Jul 2016 pl

![Does GFI Mail Essentials 20.1 support full SPF specification](/wp-content/uploads/2016/03/8ca98d980b5047ac8dc0156896a6bfd9.png)

[Zobacz obrazy (4)](#pf-content-image-1-0)

**Sender Policy Framework (SPF)** is a simple email-validation system designed to detect email spoofing by providing a mechanism to allow receiving mail exchangers to check that incoming mail from a domain comes from a host authorized by that domain's administrators. Even thou **SPF** does have a lot of it's own issues most large companies use it and it allows to filter out a lot of **spam**.

### ❗ Problem Description

**GFI Mail Essentials 20** does support **SPF** and it does so on two levels.

**SpamRazer** which is **GFI** very own special filter

[!\[Ustawienia filtru SPF SpamRazer w GFI MailEssentials\](/wp-content/uploads/2016/07/img_578bab1a70a3c.png)](/wp-content/uploads/2016/07/img_578bab1a70a3c.png)

Dedicated **Sender Policy Framework**

[!\[Ustawienia dedykowanego Sender Policy Framework w GFI MailEssentials\](/wp-content/uploads/2016/07/img_578baa8f5cb7d.png)](/wp-content/uploads/2016/07/img_578baa8f5cb7d.png)

Imagine my surprise when I started seeing properly configured **SPF** for e-mails yet **GFI** reporting them as spam.

### ✅ Solution

After opening a case in **GFI** support system we were informed that:

**GFI** does support only basic **SPF records**

**SpamRazer SPF** filter does do some nested record lookups, but if it takes longer than a second to get a response, it will skip it

So if your customers use a bit more complicated **SPF** **records** you're gonna have lots of false positives. It includes even **SPF** for own gfi.com domain

“v=spf1 a:mailers.gfi.com a:oneconnectspf.gfi.com include:amazonses.com include:cleverbridge.com include:salesforce.com include:spf.protection.outlook.com”

“v=spf1 include:_spf-a.microsoft.com include:_spf-b.microsoft.com include:_spf-c.microsoft.com include:_spf-ssg-a.microsoft.com include:spf-a.hotmail.com ip4:147.243.128.24 ip4:147.243.128.26 ip4:147.243.1.153 ip4:147.243.1.47 ip4:147.243.1.48 -all”

“v=spf1 redirect=_spf.facebook.com”

“v=spf1 redirect=_spf.google.com”

“v=spf1 mx ptr:casses.aero ptr:s4a.aero include:_spf.google.com -all”

All those domains for **gfi.com**, **microsoft.com**, **facebook.com** or **gmail.com** most likely will fail **GFI SPF** testing… They even have have GFI voting system to support full [RFC Specification for SPF](https://feedback.gfi.com/forums/267749-gfi-mailessentials/suggestions/8761624-support-rfc-spec-nested-spf-records). Don't hold your breath that it gets implemented anytime soon thou. So what to do until they add it properly?

The only way to go for now is either disable it totally or add those domains to **SPF Exception** list (either by IP or e-mails – with wildcards being supported).

[!\[Lista wyjątków SPF w GFI MailEssentials\](/wp-content/uploads/2016/07/img_578badc650dc2.png)](/wp-content/uploads/2016/07/img_578badc650dc2.png)

You should be aware that adding a **domain** to **whitelist** (**whitelist ip**, **whitelist email** or **personal whitelist**) will not skip **SPF checking** (unless SPF checking is below whitelist).

[!\[Ustawienia białej listy i kolejności sprawdzania SPF w GFI MailEssentials\](/wp-content/uploads/2016/07/img_578baefe0fef6.png)](/wp-content/uploads/2016/07/img_578baefe0fef6.png)

## Powiązane projekty

Projekty powiązane z tagami, kategoriami i treścią tego wpisu.

[Wszystkie projekty](/projekty/)

Trwa dopasowywanie projektów...

[Powrót do bloga](/blog/)

## Powiązane wpisy

- [Check an API write after a PowerShell timeout](/blog/verify-uncertain-api-outcomes-powershell/)
- [Inspect and convert mixed Office archives with PSWriteOffice](/blog/inspect-and-convert-mixed-office-archives-pswriteoffice/)
- [Compose PDF reports and automate page workflows with PSWriteOffice](/blog/automate-pdf-reports-and-page-workflows-pswriteoffice/)

<!-- PowerForge markdown artifact sha256:0F1298D1448CF6EBC9149F44EBF94D85F8E16C4228A65C86001806DABF56EA4F -->
