Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

PostfixAdmin

Security covered Under active development 2 sites

This module provides a web-based interface for managing a Postfix mail server that uses a MySQL backend. It allows administrators to manage mail domains, aliases, alias domains, and mailboxes.

Overview

Postfix Admin provides Drupal entities and administration forms for managing mail domains, mailboxes, aliases, and alias domains.

Drupal owns and writes the routing data. A separately configured Postfix service can read that data through SQL lookup maps.

Features

  • Manage domains, mailboxes, aliases, and alias domains through Drupal.
  • Use separate create, edit, delete, administer, and published or unpublished view permissions for each resource type.
  • Navigate between Domain list, Alias list, Mailbox list, Alias domain list, and Settings using local task tabs.
  • Open the appropriate resource creation form from the contextual + action.
  • Configure list pagination using page sizes of 15, 20, 25, 50, or 100 records.
  • Optionally require email confirmation before activating an alias.
  • Use supplied Postfix SQL lookup-map examples for supported routing queries.

Run locally

docker pull pixieworks/postfix_admin_console:latest
docker run --detach --rm \
  --name postfix-admin-console \
  -p 127.0.0.1:8080:80 \
  pixieworks/postfix_admin_console:latest
docker logs postfix-admin-console

Postfix integration

The module creates and manages the Drupal database tables used for routing data. It does not install or configure Postfix.

Configure Postfix SQL lookup maps separately and use a dedicated database account with read-only access to the required routing columns. Database credentials and production host information must not be stored in Drupal configuration or committed to the project repository.

Validate representative lookups with postmap -q before enabling the maps in production.

Postfix Admin Console Recipe

The optional Postfix Admin Console Recipe installs this module and creates a dedicated postfix_administrator role.

Its optional dedicated-site preset also configures the Default Admin theme, dark mode, local task blocks, and the Domain list starting page.

Documentation

See the Postfix Admin documentation for installation, permissions, administration workflow, SQL map contracts, upgrade guidance, and safe uninstall procedures.

Report problems and feature requests in the project’s GitLab Work items.

Installation

Install the module with Composer:

composer require drupal/postfix_admin

Enable the module through Extend or with Drush:

drush pm:enable postfix_admin

After installation, open Configuration → Web services → Postfix Admin. Add a domain before creating mailboxes, aliases, or alias domains.

Requirements

  • Drupal ^11.4 || ^12
  • PHP 8.3 or later
  • Composer
  • A separately configured Postfix service with access to the required routing tables
Drupal 11 · not 10

Ask your assistant about PostfixAdmin

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Sep 2026
Latest release
3 weeks ago
Releases (12 mo)
5 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0 Stable 11 Oct 3, 2026
1.0.0-beta1 Pre-release 11 Sep 20, 2026
1.0.0-alpha2 Pre-release 11 Sep 18, 2026
1.0.0-alpha1 Pre-release 11 Sep 16, 2026
1.x-dev Dev Sep 14, 2026