Skip to Content
Documentation
Dev Central Docs
Set Up WP Mail SMTP Using Postfix (for developers)

Set Up WP Mail SMTP Using Postfix (for developers)

Prerequisites

  1. Since December 2, 2020, non-Cloudflare domains are allowed to use our Postfix relay server. You no longer need to check that the site uses Cloudflare.
  2. The website must have an active hosting package with us. Please check on Salesforce.
  3. SRE must be provided with access to edit the DNS.

Ask SRE to create a domain

🚫
Important

ACCESS TO WP MAIL SMTP & POSTFIX TO OUR POSTFIX RELAY SERVER WILL BE DEPRECATED.

  1. File an SRE ticket on JIRA. Use the following template: Replace <node> with your root domain. Replace <domain> with the domain name (https://prnt.sc/10a8lnv)

    • Summary: Create a postfix domain for noreply.<node>
    • Description:
      • Please create a Postfix domain for noreply.<node>. Make sure that SPF and DKIM are also set up for the domain.
      • Add a CNAME to the DNS:
        • Name: noreply
        • Type: CNAME
        • TTL: 1 hour
        • Data/Value: spf.mail.protection.a1ox-notifications.com
      • Add an MX to the DNS:
        • Name: noreply
        • Type: MX
        • TTL: 1 hour
        • Data/Value: mail.protection.a1ox-notifications.com
        • Priority: 10
      • Add a TXT to the DNS:
        • Name: noreply
        • Type: TXT
        • TTL: 1 hour
        • Data/Value: v=spf1 mx include:_spf.mail.protection.a1ox-notifications.com -all
      • Add a CNAME to the DNS:
        • Name: selector99._domainkey.noreply
        • Type: CNAME
        • TTL: 1 hour
        • Data/Value: dk-<domain>-protection.a1t-a1ox-notifications.com
  2. Wait for SRE to complete the ticket before you continue.

Check that DKIM and SPF records are correctly set up

DKIM

  1. Visit https://www.dmarcanalyzer.com/dkim/dkim-check/.
  2. Input noreply.<domain> as the domain.
  3. Input selector99 as the DKIM selector.
  4. DKIM record must contain this string https://prnt.sc/wi5ph8.

SPF

  1. Visit https://www.dmarcanalyzer.com/spf/checker/.
  2. Input noreply.<domain> as the domain.
  3. SPF record must contain this string https://prnt.sc/wi5rdo.

Create a Postfix mailbox

  1. Log in to https://postfixadmin.forge99.com/.
  2. Use the login details that are emailed to you. If you don’t have a login yet, ask SRE to create one for you.
  3. Go to https://postfixadmin.forge99.com/list.php?table=domain.
  4. Select the domain of the website. If you don’t see the go back to step 2 Ask SRE to create a domain.
  5. Click Add Mailbox.
  6. Use the following details:
    • Username: notifications
    • Domain: <Select your domain>
    • Password: <Type a random password>
    • Password (again): <Type the same password>
    • Name: <Type the website title>
    • Active: checked
    • Send Welcome Email: unchecked
    • Other Email: <Leave blank>
  7. Click Add Mailbox again.

Set up WP Armour

Set up WP Mail SMTP

  1. Install and activate WP Mail SMTP.
  2. Go to WP Admin->WP Mail SMTP.
  3. Set the following:
    • From Email: notifications@noreply.<domain>
    • Mailer: Other SMTP
    • SMTP Host: mail.protection.a1ox-notifications.com
    • Encryption: TLS (TLS will work as encryption type)
    • SMTP Port: 587 (Only port 587 will work as port. Account login is disabled on port 25 and 465)
    • Authentication: ON
    • SMTP Username: notifications@noreply.<domain>
    • SMTP Password: <The password you set when creating the Postfix mailbox>

Test the forms

  1. Make sure to test one contact form.
  2. Follow these guidelines.
Last updated on