Portal:Container/Image/dovecot

Jump to: navigation, search

openSUSE dovecot IMAP Image

Description

This container image contains the latest dovecot imap daemon from openSUSE Tumbleweed.

Location

  • registry.opensuse.org/opensuse/dovecot

Configuration

This container image requires a local data directory, by default /srv/dovecot. During start a new configuration will be created if none exists already.

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

Run

 # podman run -d --rm --name dovecot -p 110:110 -p 143:143 -p 993:993 -p 995:995 -e USE_LDAP=1 -e LDAP_BASE_DN="ou=mail,dc=example,dc=org" -e LDAP_BIND_DN="cn=mailAccountReader,ou=Manager,dc=example,dc=org" -e LDAP_BIND_PASSWORD="password" registry.opensuse.org/opensuse/dovecot

Systemd support

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

 # systemctl start container-dovecot