Contents of this article
If you set up your own mail server, you'll soon come across Postfix and PostfixAdmin, and with them a string of abbreviations that are easy to mix up. This page explains what each part does, what it explicitly doesn't do, and what the terms MTA, MDA, MUA, relay, virtual domain and alias mean.
What Postfix is
Postfix is an MTA: a Mail Transfer Agent. It is the part that accepts and sends email. When mail comes in for your domain, Postfix is what accepts the connection on port 25, decides whether the message is for a valid address and then passes it on. When someone sends mail through your server, Postfix is what works out which server handles the recipient and delivers the message there.
That's it. Postfix routes messages. Everything else people expect from "a mail server" is done by other programs.
What Postfix isn't
This is where most of the confusion comes from. Postfix is:
- not an IMAP or POP server. Your mail program doesn't connect to Postfix to read mail. A separate server runs for that, in practice often Dovecot.
- not webmail. Webmail is a separate web package that itself talks to Dovecot over IMAP and to Postfix over SMTP.
- not a spam filter. Postfix can hand a message to a filter while accepting it, but the filtering itself is done by, for example, Rspamd or SpamAssassin. The same goes for virus scanning and for adding and checking DKIM signatures.
A working mail server is therefore always a stack of cooperating parts. Someone who says "I've installed Postfix" has done roughly a third of the work.
What PostfixAdmin does
PostfixAdmin is a web interface for managing the administration of your mail server: domains, mailboxes, aliases, passwords and quotas. That data is stored in a database (usually MySQL or MariaDB, sometimes PostgreSQL), and Postfix and Dovecot read that same database with a handful of queries.
The convenience is that you no longer edit configuration files and don't need a restart to add a mailbox. At its core, it is a tidy form on top of a few tables.
What PostfixAdmin doesn't do: it doesn't send mail, it doesn't store messages, it doesn't configure Postfix or Dovecot, and it doesn't handle your DNS. You have to set up the link between the database and those programs yourself. PostfixAdmin simply assumes it is already there.
The terms side by side
| Term | What it means |
|---|---|
| MTA | Mail Transfer Agent. Accepts mail and delivers it to the next server. Postfix, Exim and Sendmail are MTAs. |
| MDA | Mail Delivery Agent. Actually places a message in the user's mailbox and applies filter rules, for example. Dovecot often fills this role, alongside its IMAP job. |
| MUA | Mail User Agent: the user's program. Outlook, Thunderbird, the Mail app on your phone, webmail. |
| Relay | Accepting mail in order to pass it on on behalf of someone else. This should only be allowed for authenticated users or trusted networks; a server that does it for everyone is an open relay and ends up on blocklists within days. |
| Virtual domain | A domain whose mailboxes aren't tied to system accounts on the server but are stored in a database. That way you can have hundreds of domains on one server without hundreds of Linux users. |
| Alias | An address without its own mailbox that forwards to one or more real addresses. No storage, no password: just a forward. |
Being honest about running your own mail server
Setting up Postfix, Dovecot, a spam filter and PostfixAdmin is technically quite doable. The documentation is excellent, the components are stable, and after a few evenings it works. That's the easy part.
The hard part is operational, and it never stops. You build up a reputation for your IP address, and one badly configured form can lose it again. You end up on blocklists and have to request removal from each one. You keep SPF, DKIM and DMARC alignment correct while new systems get added. And email is a service people expect to be there 24 hours a day, even when you're ill. The installation isn't the heavy work; the maintenance is.
If you don't want that, outsource your email. If you do want it, you'd do well to start with the terms above, because most of the problems that come up on forums are really confusion between MTA and MDA, or an alias where a mailbox should have been.
What we don't do here
We don't provide support for mail servers you run yourself, and we don't offer consultancy on anyone's own Postfix configuration. This article is here because it's useful, not as a lead-in to a sales pitch. If you'd rather not run email yourself, you're welcome with us; if you do want to run it yourself, this article is simply what it is.
Further reading
- Domain protection for email (in Dutch)
- Email packages and pricing (in Dutch)
- Back to the knowledge base
Was this article helpful?
Thank you for your feedback.
Thank you. What were you missing? Let us know at support@hostage.nl and we will add it to the article.
Related articles
- Set up an out-of-office reply in webmail Set up an automatic reply that starts and stops on the days you choose.
- Using webmail: logging in and finding your way Logging in to webmail and finding your way around folders, messages and settings.
- Change the webmail language and time zone Change the language and time zone of webmail in the preferences.
- Forward email automatically from webmail Forward mail from a mailbox to another address automatically using webmail.
Still stuck?
Send us a message. We will help you, usually within one working day.