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.te.smtps.jp||Uses this SPF record when sending mails from sandbox and transactional-email|
|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 ;; QUESTION SECTION: ;spf.te.smtps.jp. IN TXT ;; ANSWER SECTION: 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.
|Name||Input the mail domain that sets the SPF(from address after@)|
|Value||Include the SPF record described above.|
Please refer to the following for the specifications of SPF records of each mobile phone company.
Checking the SPF
Check whether SPF record registered using the dig command etc. has reflected or not.
$ dig txt example.com ;; QUESTION SECTION: ;example.com. IN TXT ;; ANSWER SECTION: 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.
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.
server composite tab.
Click the target server configuration link .
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.
When clicking on the domain name,
sending domain settings dialog will be displayed.
Change the SPF setting envelope from to
Input your own domain that operates the envelope from in the input field.
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.