Sign inSign up

mxserver/postfixadmin

By mxserver

•Updated about 6 years ago

Image
0

822

mxserver/postfixadmin repository overview

⁠mxserver/postfixadmin

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 hardware/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/mxserver/mailserver/blob/master/docker-compose.sample.yml

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

https://github.com/mxserver/mailserver/wiki/Postfixadmin-initial-configuration⁠

Tag summary

Content type

Image

Digest

Size

29.3 MB

Last updated

about 6 years ago

docker pull mxserver/postfixadmin