Note: this is the "per-architecture" repository for the windows-amd64 builds of the postfixadmin official image -- for more information, see "Architectures other than amd64?" in the official images documentation and "An image's source changed in Git, now what?" in the official images FAQ.
Maintained by:
Postfix Admin
Where to get help:
the Docker Community Slack, Server Fault, Unix & Linux, or Stack Overflow
Dockerfile linksWARNING: THIS IMAGE IS NOT SUPPORTED ON THE windows-amd64 ARCHITECTURE
Where to file issues:
https://github.com/postfixadmin/docker/issues
Supported architectures: (more info)
amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
Published image artifact details:
repo-info repo's repos/postfixadmin/ directory (history)
(image metadata, transfer size, etc)
Image updates:
official-images repo's library/postfixadmin label
official-images repo's library/postfixadmin file (history)
Source of this description:
docs repo's postfixadmin/ directory (history)
Postfix Admin is a web based interface to configure and manage a Postfix based email server for many users. Features include support for virtual domains and aliases, quotas, and vacation/out-of-the-office messages. It requires PHP, Postfix and one of MySQL, PostgreSQL or SQLite.
If you do not have a config.local.php, then we fall back to look for environment variables to generate one.
$ docker run -e POSTFIXADMIN_DB_TYPE=mysqli \
-e POSTFIXADMIN_DB_HOST=whatever \
-e POSTFIXADMIN_DB_USER=user \
-e POSTFIXADMIN_DB_PASSWORD=topsecret \
-e POSTFIXADMIN_DB_NAME=postfixadmin \
--name some-postfixadmin \
winamd64/postfixadmin
POSTFIXADMIN_DB_TYPE can be one of :
Note: An SQLite database is not recommend but used as a fallback if you do not have a config.local.php and do not specify the above variables. Do not forget to add a volume for the SQLite path.
You can also specify a POSTFIXADMIN_SETUP_PASSWORD environment variable.
If you'd like to be able to access the instance from the host without the container's IP, standard port mappings can be used:
$ docker run -e POSTFIXADMIN_DB_TYPE=mysqli \
-e POSTFIXADMIN_DB_HOST=whatever \
-e POSTFIXADMIN_DB_USER=user \
-e POSTFIXADMIN_DB_PASSWORD=topsecret \
-e POSTFIXADMIN_DB_NAME=postfixadmin \
--name some-postfixadmin \
-p 8080:80
winamd64/postfixadmin
Then, access it via http://localhost:8080 or http://host-ip:8080 in a browser.
$ docker run -v /local/path/to/config.local.php:/var/www/html/config.local.php \
--name some-postfixadmin \
-p 8080:80 \
winamd64/postfixadmin
... via docker compose
Example compose.yaml for postfixadmin:
services:
db:
image: mysql:8.0
restart: always
environment:
MYSQL_RANDOM_ROOT_PASSWORD: 1
MYSQL_DATABASE: postfixadmin
MYSQL_USER: postfixadmin
MYSQL_PASSWORD: example
postfixadmin:
depends_on:
- db
image: postfixadmin
ports:
- 8000:80
restart: always
environment:
POSTFIXADMIN_DB_TYPE: mysqli
POSTFIXADMIN_DB_HOST: db
POSTFIXADMIN_DB_USER: postfixadmin
POSTFIXADMIN_DB_NAME: postfixadmin
POSTFIXADMIN_DB_PASSWORD: example
Run docker compose up, wait for it to initialize completely, and visit http://localhost:8080 or http://host-ip:8080 (as appropriate).
View license information for the software contained in this image.
As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
Some additional license information which was able to be auto-detected might be found in the repo-info repository's postfixadmin/ directory.
As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.