PostfixPostfix

Project - Personal Mail Server (Postfix + Dovecot + Rainloop)

PostfixDovecotRainloopMariaDBPHP

A self-hosted personal mail server with Postfix, Dovecot, Rainloop, and a PHP administration interface.

June 14, 2025

Overview

This project sets up a complete self-hosted personal mail server on a Debian machine. It uses Postfix for sending emails (SMTP), Dovecot for receiving (IMAP), and Rainloop as a simple, modern webmail interface. A PHP administration interface also allows easy restarting of services. User account management is handled via a MariaDB database.

Key Features

  • SMTP Service with Postfix Enables sending emails with secure SMTP authentication.
  • IMAP Service with Dovecot Allows receiving emails with remote IMAP access.
  • Modern Webmail Access mailboxes via Rainloop, a lightweight and fast web interface.
  • Administration Interface PHP mini-dashboard to restart Postfix and Dovecot.
  • Management via MariaDB Stores users, passwords, and domains in a MariaDB database.
project preview
PostfixPostfix

Postfix is a fast and secure mail transfer agent (MTA) used for sending emails (SMTP).

DovecotDovecot

Dovecot is a lightweight and secure IMAP server for receiving and reading emails.

RainloopRainloop

Rainloop is a modern, fast, and easy-to-integrate webmail client.

MariaDBMariaDB

Open-source relational database management system used to manage users.

PHPPHP

Server-side scripting language used here to create the web administration interface.

Linux (Debian)Linux (Debian)

Stable and robust Linux distribution used to host the mail server.

Looking for a collaborator?

I am available to discuss your projects, share ideas, or answer your questions. Feel free to contact me.