Infrastructure · Email

Self hosted email server with Postal for receipts and newsletters

An online academy sent receipts, reminders and newsletters, and many landed in spam. A software team needed email for logins and password resets. I set up a self hosted email server for both, with no monthly fee per email.

Clients
Online academy and software team
Delivered
Mail server, domains, templates, monitoring
Server
Shared with about 25 other projects
Period
May to July 2026
Overview of a self hosted email server with a deliverability test of 10 out of 10
Illustration. The deliverability test and the number of checks come from the project report, the email on the phone is an example.
In short

Postal sends receipts and system emails and Listmonk sends newsletters, on separate domains with SPF, DKIM, DMARC and proper reverse DNS. The academy's deliverability test went from 6.1 to 10 out of 10, 642 automated checks of letters found zero failures, and one newsletter reached the whole list of 1,647 contacts.

10/10deliverability test, up from 6.1
642automated letter checks, 0 failures
1,647recipients in one newsletter

The starting point

Paid email services charge per email and per contact, and email from a new server without the right setup easily lands in spam. The academy lost customers who never saw the email saying their access was open.

What I built

  1. Postal in Docker. Installed on a server shared with about 25 other projects without touching any of them.
  2. IPv4 only. The server's IPv6 had a generic reverse DNS that Gmail rejects, so all mail goes out over IPv4.
  3. Authentication. SPF, DKIM, return path and DMARC for every domain, and encrypted SMTP.
  4. Separate domains. One domain for receipts and system emails, one for newsletters, so a newsletter never hurts receipt delivery.
  5. Listmonk for newsletters. Campaigns and lists on the same server.
  6. App integration. The software team's app now sends login and password reset emails through Postal.

The result

The academy's deliverability test went from 6.1 to 10 out of 10, and 642 automated checks of letters and prices found zero failures. One newsletter reached the whole list of 1,647 contacts from the self hosted server. For the software team, the test email was accepted by Gmail right away.

Tools and tech stack

  • Postal
  • Listmonk
  • Docker
  • MariaDB
  • PostgreSQL
  • SPF
  • DKIM
  • DMARC
  • nodemailer

The client is anonymised. The numbers come from the project's own reports and measurements.

Questions and answers

Why run a self hosted email server?

You pay for the server, not per email or contact, and you own the data and the setup. It pays off when you send a lot, but it needs the right setup and monitoring.

What are SPF, DKIM and DMARC?

Three DNS records that prove to the receiving server that the email really comes from your domain. Without them, email often lands in spam.

Does email from your own server land in spam?

Not when authentication, reverse DNS and templates are right. Here the deliverability test showed 10 out of 10.

Can I learn to set up Postal myself?

Yes, see the guide to your own email server with Postal. If you want it set up for you, you get a fixed price in writing.

About the author

Vladyslav Lysechko
Vladyslav Lysechko, Performance marketer, Lysechko Digital, Rånåsfoss, Nes, Norway

I have worked with ads on Google, Meta and TikTok for more than seven years and personally managed ad budgets from $1,000 a day up to $50,000 a month. For the last two years I have built websites, automations and AI assistants with AI every day. I help local businesses in Oslo and on Romerike get more calls and bookings. LinkedIn

More case studies

Systems and dashboardsAI and automation

Online course platform with CRM

A self hosted Teachable alternative: 282 lessons moved with zero errors, and access opens automatically after payment.

282lessons and 281 videos moved with zero errors

Read the case study

Systems and dashboardsAI and automation

Kanban task board for a software team

A Trello style board on its own server, with realtime updates for the whole team, a roadmap map and a docs library.

100tasks on the board in May

Read the case study

AI and automationSystems and dashboards

Telegram subscription bot

A bot that takes payments and receipts and sends the invite link to a private group, delivered to five course creators.

5clients with their own bot on one engine

Read the case study

All case studies

Let's have a short call

Tell me a little about your business and you get a concrete suggestion with a fixed price.

Email vlad@lysechko.com · Phone +47 462 17 168

Book a short call WhatsApp (opens in a new tab)