Sign inSign up

alreece45/phusion-postfix

By alreece45

Updated almost 11 years ago

Image
0

438

alreece45/phusion-postfix repository overview

postfix mail server with configurable hostname and trusted hosts and proper shutdown handling

Notes

By default, connected rfc1918 networks are detected and allowed. Local networks (127.0.0.1, ::1) are also allowed.

Syslog

Postfix logs to a syslog server. Unless indicated, no syslog server is configured or started started. (the phusion baseimage does start a syslog server).

For simplicity, you can bind-mount the one on the host using -v /dev/log:/dev/log

Suggested Volumes

  • /var/spool/postfix is the spool directory. Its also where postfix chroots to by default.
  • /etc/postfix is the configuation directory

Options

You can customize the image behavior using environmental variables or entrypoint arguments.

Enviromental Variable(s)Entrypoint OptionDescription
(use --hostname)--mail-nameMail name to use (appears in mail headers). Defaults to hostname
TRUST="local" or TRUST_LOCAL="0"--trust-localTrust addresses on the lo interface. Enabled by default
TRUST="connected-rfc1918" or TRUST_CONNECTED_RFC="1"--trust-connected-rfc1918Trust all locally connected rfc1918 subnets. Enabled by default
TRUST="connected" or TRUST_CONNECTED="1"--trust-connectedTrust all addresses connected (excluding IPv6 local-link addresses). Disabled by default
TRUST="rfc1918" or TRUST_RFC1918="1"--trust-rfc1918Trust all rfc1918 address. Disabled by default
TRUST_LLA="1"--trust-llaTrust the fe80::/64 IPv6 subnet. Disabled by default
TRUST_SUBNETS="(space separated list of subnets]"--trust-subnet []Trust the specified subnet (IPv4 and IPv6 supported). Disabled by default
TRUST_INTERFACES="(space separated list of interfaces)"--trust-interface []Trust all network address on the interface (excluding IPv6 LLA). Disabled by default
--skip-trust-*Use with local, connected-rfc1918, connected, rfc1918, or lla to skip trusting it. Disabled by default
--skip-allDisable/reset all trusts. Disabled by default

Tag summary

Content type

Image

Digest

sha256:c3136b589

Size

144.3 MB

Last updated

almost 11 years ago

docker pull alreece45/phusion-postfix