Docker image for PostfixAdmin 3.3.15 on Ubuntu 26.10, served by nginx and PHP 8.5.
553
PostfixAdmin for managing mailboxes, aliases, and domains. nginx serves the public directory through PHP 8.5.
ubuntu:26.10VIRTUAL_PORT. The image default is 3000setup.php is removed at startup, and nginx returns 404 for that addressdomain/user@domain (domain_in_mailbox is on)abuse, hostmaster, postmaster, and webmasterCreate the PostfixAdmin database before the first start. The admin account lives in that database. This image does not publish the setup page.
| Variable | Purpose |
|---|---|
PFA_SETUP_PASS | Setup password. The image stores it as a hash |
PFA_DB_USER | Database user |
PFA_DB_PASSWORD | Database password |
PFA_DB_NAME | Database name |
PFA_HOSTNAME | Mail server hostname |
PFA_DOMAIN | Domain shown in the page footer |
| Variable | Purpose |
|---|---|
PFA_DB_TYPE | mysqli or pgsql. Default: mysqli |
PFA_DB_HOST | Database host. Default: localhost |
PFA_POSTFIX_SERVER | Postfix host used for SMTP checks. Default: localhost |
PFA_THEME_FAVICON | Favicon path |
PFA_THEME_LOGO | Logo path |
VIRTUAL_PORT | Port nginx listens on. Default: 3000 |
docker run -d --name postfixadmin \
-p 3000:3000 \
-e VIRTUAL_PORT=3000 \
-e PFA_SETUP_PASS=change-me \
-e PFA_DB_TYPE=mysqli \
-e PFA_DB_HOST=mariadb \
-e PFA_DB_USER=postfix \
-e PFA_DB_PASSWORD=change-me \
-e PFA_DB_NAME=postfix \
-e PFA_POSTFIX_SERVER=mail.example.com \
-e PFA_HOSTNAME=mail.example.com \
-e PFA_DOMAIN=example.com \
webkutir/postfixadmin:3.3.15
Open http://localhost:3000 and log in with the PostfixAdmin admin account.
docker pull webkutir/postfixadmin:latest