Sign inSign up

crashvb/postfix

By crashvb

•Updated over 3 years ago

Contains postfix.

Image
0

590

crashvb/postfix repository overview

⁠postfix-docker

version) image size linting license

⁠Overview

This docker image contains Postfix⁠.

⁠Entrypoint Scripts

⁠postfix

The embedded entrypoint script is located at /etc/entrypoint.d/postfix and performs the following actions:

  1. The PKI certificates are generated or imported.
  2. A new postfix configuration is generated using the following environment variables:
VariableDefault ValueDescription
POSTFIX_ALIASESContent of POSTFIX_CONFIG/aliases; also /etc/aliases.
POSTFIX_AUTH_PATHIf defined, the dovecot auth service will be consumed at this address.
POSTFIX_CERT_DAYS30Validity period of any generated PKI certificates.
POSTFIX_KEY_SIZE4096Key size of any generated PKI keys.
POSTFIX_MAILNAMEhostnameThe mail name of the instance.
POSTFIX_MYDESTINATIONContent of POSTFIX_CONFIG/mydestination.
POSTFIX_VGID5000Group ID of the virtual mail user.
POSTFIX_VIRTUAL_ALIAS_MAPSContent of POSTFIX_CONFIG/virtual`.
POSTFIX_VIRTUAL_MAILBOX_DOMAINSContent of POSTFIX_CONFIG/virtual_mailbox_domains`.
POSTFIX_VIRTUAL_MAILBOX_MAPSContent of POSTFIX_CONFIG/vmailbox`.
POSTFIX_VUID5000User ID of the virtual mail user.
POSTFIX_VMAIL/var/mailVirtual mail root.
POSTFIX_VNAMEvmailName of the virtual mail user.

⁠Healthcheck Scripts

⁠postfix

The embedded healthcheck script is located at /etc/healthcheck.d/postfix and performs the following actions:

  1. Verifies that all postfix services are operational.

⁠Standard Configuration

⁠Container Layout
/
├─ etc/
│  ├─ postfix/
│  ├─ entrypoint.d/
│  │  └─ postfix
│  └─ healthcheck.d/
│     └─ postfix
├─ run/
│  └─ secrets/
│     ├─ postfix.crt
│     ├─ postfix.key
│     └─ postfixca.crt
├─ usr/
│  └─ local/
│     └─ bin/
│        └─ postfix-test-smtp
└─ var/
   ├─ spool/
   │  └─ postfix/
   └─ mail/
⁠Exposed Ports
  • 25/tcp - SMTP unsecure port.
  • 465/tcp - SMTPS unsecure port.
  • 587/tcp - Secure Submission port.
⁠Volumes
  • /etc/postfix - postfix configuration directory.
  • /var/mail - default mail directory.

⁠Development

Source Control⁠

Tag summary

Content type

Image

Digest

sha256:18f07a0d3…

Size

71.9 MB

Last updated

over 3 years ago

docker pull crashvb/postfix