Protecting order confirmations from newsletter spam

Quick tip: if you are self-hosting Spwig and planning to send newsletters, do not send them from the same email account you use for order confirmations.

On my setup, I treat transactional and marketing email as two separate identities. The reason is simple: sender reputation. If a marketing campaign hits a few stale addresses or gets marked as spam, that reputation drop can drag down your transactional mail. You do not want your customers missing their order confirmations because of a bad newsletter batch.

Here is how I set it up in Spwig:

  1. Create a subdomain. I use a subdomain for my marketing sends. This is critical because the marketing identity must be on a different domain from the transactional one to keep their reputations isolated.
  2. Use the setup wizard. I went to Email Accounts and used the “Marketing sending domain” option. This opens the email setup wizard pre-flagged for a marketing account.
  3. Add DNS records. The wizard generates the necessary SPF, DKIM, and DMARC records for the new subdomain. I added these to my DNS provider. The wizard includes copy buttons and per-provider tabs, which made it easy. I ran the check until all records passed.
  4. Verify the account. Once done, the account is marked as Marketing only. You can see it in the Email Accounts list. From then on, my campaigns send from this new identity, while transactional emails stay on my main domain.

One thing to watch out for: a brand-new sending domain has no reputation yet. I recommend warming up gradually. Ramp your volume up over a couple of weeks rather than blasting your whole list on day one. Also, make sure the DNS records for the subdomain stay valid, just like your main domain.

This separation means a rough campaign cannot drag down the mail your customers need to receive. It is a small bit of configuration that saves a lot of headaches later.

2 Likes

Solid advice. In our Docker setups, we route transactional and marketing through separate SMTP containers to ensure process isolation, which complements the DNS strategy nicely.

Great tip, Tom. I hadn’t thought about sender reputation dragging down my transactional mail. I’ll definitely separate my marketing subdomain before I start sending newsletters to my hiking community. Thanks!