What are SPF records and how do I add one for MangoApps?

The purpose of an SPF record is to prevent spammers from sending messages with forged From addresses at your domain. Recipients can refer to the SPF record to determine whether a message purporting to be from your domain comes from an authorized mail server.

For on-premise and private cloud setups:

For better email delivery, please add your MangoApps server ip-address as an authorized sender of email so your email systems do not reject mail originating from your on-premise or private cloud MangoApps instance as SPAM.

For shared cloud customers:

If you have changed the “Email ID from which all Emails will be sent” setting in MangoApps admin interface, you will also need to add an SPF record allowing MangoApps servers as authorized sender of emails for your domain.

In addition, some email systems allow marking of emails from a list of domains as trusted email(whitelist domains/ip-addresses). if your email system offers whitelisting, please add *.mangoapps.com to this list.

SPF record example:

To understand SPF records a bit more, let’s take an example of a company named “PurpleTrail” with company domain purpletrail.com.

Let’s assume that PurpleTrail configures “ptgermany@purpletrail.com” as an email address from which all MangoApps emails will be sent. Let’s also assume that the PurpleTrail MangoApps account is hosted on MangoApps Germany datacenter.

To make sure SPF record check passes, purpletrail will need to create an SPF record (typically part of the service that is hosting DNS) allowing “germany.mangoapps.com” (or mangoapps.com) as an authorized email sender. If an SPF record is not created, SPF validation may fail resulting in email systems marking emails from MangoApps servers as SPAM or blocking it altogether.

A sample SPF record allowing mangoapps servers to send emails looks something like this…

“v=spf1 ip4:54.247.118.124/32 ip4:54.75.244.83/32 include:mangoapps.com ~all”

The first two fixed ip-address are explicitly allowing delivery from MangoApps germany emails servers and the third address is allowing email delivery from any mangoapps.com server. We recommend you allow email delivery from any mangoapps.com server so you don’t have to worry about individual ip-addresses.

To learn more about SPF records, please see:

Last updated