SPF(Sender Policy Framework) is a technology that can verify the sender of an email (the domain of the from address). The sender of the email publishes the sending IP address to his/her DNS (*1). The server that receives the email verifies the sending IP address and the sender (domain) of the email with the information published in DNS. This technology is used for judgement spoofing, which is one of the spam filters for mobile devices.

*1) Information published to DNS is called an SPF record.

Customers Mail Cloud provides the following SPF records


SPF record       Description
spf.te.smtps.jp Uses this SPF record when sending mails from sandbox and transactional-email


SPF record       Description
spf.SUBDOMAIN.smtps.jp Creates SPF record in subdomain assigned to each userper user.

Use the dig command, etc. to verify that the above SPF record exists.

$ dig txt spf.te.smtps.jp

;spf.te.smtps.jp.      IN   TXT

spf.te.smtps.jp.  300  IN   TXT  "v=spf1 ip4:153.149.33.xxx ip4:153.149.33.xxx ~all"

Registering the SPF

Set the envelope from and the header from for the domain of the email address specified for each.

An example of setting SPF on Amazon Route53 will be described in this section.

Route53 SPF

Item    Value
Name Input the mail domain that sets the SPF(from address after@)
Type Select TXT - Text
Value Include the SPF record described above.

Please refer to the following for the specifications of SPF records of each mobile phone company.

NTT docomo


Checking the SPF

Check whether SPF record registered using the dig command etc. has reflected or not.

$ dig txt example.com

;example.com.      IN   TXT

example.com.  300  IN   TXT  "v=spf1 include:spf.te.smtps.jp ~all"

Operating your own domain

To be compatible with DMARC or security policies when sending and receiving emails between companies,there are cases where the envelope from must be operated as a subdomain of the header from.

By making the following settings, the user's own domain can be used for the envelope from.

STEP1:Receiving the bounce mail

You need to set up to receive bounce emails with Customers Mail Cloud to operate the envelope from in your own domain. Refer to Settings> Receive Server in the user manual and do the settings so that you can receive bounce emails with your own domain.

STEP2:Setting the sending domain

From the Customers Mail Cloud management console, set the own domain that operates the envelope from for each header From.

Click the server composite tab.

Click the target server configuration link .

Click the sending domain settings at the left menu of server settings dialog.

The domain of the header from that DKIM set will be displayed as a list.

sending domain settings

When clicking on the domain name, sending domain settings dialog will be displayed.

sending domain settings dialog SPF settings

Change the SPF setting envelope from to rewrite. Input your own domain that operates the envelope from in the input field. Click the save button

STEP3:Reflecting the settings

The saved settings will become effective when they are reflected in the mail server. After saving all the settings in the management console, the mail server will reflect settings.