
Infrastructure
Configuring Postfix with LDAP: Self-Hosted Multi-Domain Email
Moreover, we set it up as a relay using AWS SES for outgoing messages. Without SES, most servers like gmail.com will reject our messages by default.

Moreover, we set it up as a relay using AWS SES for outgoing messages. Without SES, most servers like gmail.com will reject our messages by default.

It was impossible to find a guide that explains how to set up Dovecot for a multi-domain email server, so I made one to remind myself.

Tutorials on email servers are sparse. Everyone wants to deploy a Vercel app, but nobody is standing up Postfix servers. Even more so for configuring multiple domains on a single VM. We need four things:

I wanted to manage my email accounts without paying for Google Workspace. Here is how I set up OpenLDAP for multi-domain email.