We've recently seen an increase in calls from users who are experiencing an issue with 'Order Placed' or 'Order Status' E-mails from the EKM Shop being blocked or marked as spam by third-party E-mail platforms.
Part of the reason for this is that the EKM Shop uses the 'Shop Owners EMail address' as the 'From' address when sending E-mail. The E-mail itself, however, is sent from the individual EKM server through a dedicated mailserver (mailer01.com).
The practice of stating that an E-mail is from somewhere other than it actually is has been termed 'Spoofing'. Spoofing itself is not a problem, however because it is something that is used frequently in spam and phishing attacks, E-mail providers are wary of it. Recently, providers like btinternet.com seem to have blocked spoofed E-mail entirely.
Ultimately we don't have much control over what third-party providers change, however one way of minimising the chance of EKM Shop E-mails being regarded suspiciously is to add an SPF Record.
What is an SPF Record?
An SPF record is information that can be added to a domain name that identifies the servers that are allowed to send mail on it's behalf. An example of an SPF Record is as follows:
v=spf1 mx a mx:mailer01.com a:mailer01.com ?all
This example is telling the mail server that the domain allows mail to be sent from where it's A record points to, where it's MX record points to and also the server(s) that mailer01.com points to. In the case of danstestplatform.co.uk, this would allow mail from the following servers:
MX - mail.danstestplatform.co.uk (126.96.36.199) - The primary EKM mail server
A - danstestplatform.co.uk (188.8.131.52) - The shop/site the domain points to.
MX:Mailer01.com - mail.mailer01.com (184.108.40.206) The server the EKM shop sends mail through.
A:mailer01.com - mailer01.com (220.127.116.11) The server the EKM shop sends mail through.
Adding an SPF Record
Where EKM are the domain provider the SPF Record can add the record to the domain via ekmDomains. To do this, access the ekmDomains account and in 'Advanced DNS' click on the 'Add Record' button next to the 'TXT Records' header.
The above image shows the example we used earlier for danstestplatform.co.uk. In the 'Host Name' section we use the '@' symbol as the record applies to the whole domain. You can check this by running a WHOIS lookup. Once the change has been made the usual propagation timeframes apply (up to 48 hours).
What if EKM don't provide my Domain and/or E-mail?
If the domain name is not controlled by EKM the SPF record will need to be added through the company that provide the domain name. Some providers may set a default SPF record that additional details can be added to. In these cases, or where EKM do manage the domain but not the mail, it's important to make sure that adding an SPF record won't cause issues. The MX record above will work in instances where the domain, E-mail and Shop are all provided by EKM, but where you have services elsewhere it may be worth referring your provider to this article before making any changes.
[remember]An incorrectly configured SPF Record can prevent your mail from being received. If you have any questions please contact the support team.[/remember]