Portal:Container/Image/postfix

Jump to: navigation, search

openSUSE postfix Container Image

Description

This container image contains the latest postfix daemon from openSUSE Tumbleweed.

Location

  • registry.opensuse.org/opensuse/postfix

Configuration

This container image requires a local data directory, by default /srv/postfix. During start a new configuration will be created on the fly.

A comprehensive description of all options can be found at https://github.com/thkukuk/containers-mailserver/blob/master/postfix/README.md

Run

 # podman run -d --rm --name postfix -p 25:25 -e SMTP_RELAYHOST=smtp.example.com registry.opensuse.org/opensuse/postfix

Systemd support

The package containers-systemd contains a service file and sysconfig file to configure and automatically start the postfix container with systemd.

 # systemctl start container-postfix