Sign inSign up

datoma/postfixadmin

By datoma

Updated about 6 years ago

Postfixadmin as docker container based on alpine

Image
0

350

datoma/postfixadmin repository overview

postfixadmin

What is this ?

PostfixAdmin is a web based interface used to manage mailboxes, virtual domains and aliases. It also features support for vacation/out-of-the-office messages.

Features
  • Lightweight & secure image (no root process)
  • Based on Alpine Linux
  • Latest Postfixadmin version (3.2)
  • MariaDB/PostgreSQL driver
  • With PHP7
Built-time variables
  • VERSION : version of postfixadmin
  • GPG_SHORTID : short gpg key ID
  • GPG_FINGERPRINT : fingerprint of signing key
  • SHA256_HASH : SHA256 hash of Postfixadmin archive
Ports
  • 8888
Environment variables
VariableDescriptionTypeDefault value
UIDpostfixadmin user idoptional991
GIDpostfixadmin group idoptional991
DBDRIVERDatabase type: mysql, pgsqloptionalmysql
DBHOSTDatabase instance ip/hostnameoptionalmariadb
DBPORTDatabase instance portoptional3306
DBUSERDatabase database usernameoptionalpostfix
DBNAMEDatabase database nameoptionalpostfix
DBPASSDatabase database password or location of a file containing itrequirednull
SMTPHOSTSMTP server ip/hostnameoptionalmailserver
DOMAINMail domainoptionaldomainname value
ENCRYPTIONPasswords encryption methodoptionaldovecot:SHA512-CRYPT
PASSVAL_MIN_LENPasswords validation: minimum password lengthoptional5
PASSVAL_MIN_CHARPasswords validation: must contain at least charactersoptional3
PASSVAL_MIN_DIGITPasswords validation: must contain at least digitsoptional2
PAGE_SIZENumber of entries (mailboxes, alias, etc) that you would like to see in one page.optional10
QUOTA_MULTIPLIERNumber of bytes required to represent a single quota unit. You can either use '1000000', '1024000' or '1048576'optional1024000
FETCHMAIL_EXTRA_OPTIONSAllows to pass additional options to fetchmailoptionalNO
  • If you use this docker image and datoma/mailserver with fetchmail support enabled, a dedicated port (10025) is available with less restrictions for delivery. Use FETCHMAIL_EXTRA_OPTIONS environment variable for that purpose. Example :
postfixadmin:
  environment:
    FETCHMAIL_EXTRA_OPTIONS="smtp localhost/10025"
Docker-compose.yml
# Full example :
# https://github.com/hardware/mailserver/blob/master/docker-compose.sample.yml

postfixadmin:
  image: hardware/postfixadmin
  container_name: postfixadmin
  domainname: domain.tld
  hostname: mail
  environment:
    - DBPASS=xxxxxxx
  depends_on:
    - mailserver
    - mariadb # postgres (adjust accordingly)
How to setup

Postfixadmin-initial-configuration.md

forked from

hardware/postfixadmin https://hub.docker.com/r/hardware/postfixadmin/

Tag summary

Content type

Image

Digest

Size

29.9 MB

Last updated

about 6 years ago

docker pull datoma/postfixadmin