Skip to content

Sympa Docker image. Read-only mirror of https://gitlab.com/tozd/docker/sympa

Notifications You must be signed in to change notification settings

tozd/docker-sympa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tozd/sympa

https://gitlab.com/tozd/docker/sympa

Available as:

Image inheritance

tozd/basetozd/dinittozd/nginxtozd/nginx-mailertozd/sympa

Tags

  • latest: Sympa 6.2.66

Volumes

  • /var/log/sympa: Log files. Logs are not rotated.
  • /etc/sympa/shared: A volume shared with a Postfix container to provide necessary SSH keys for communication between containers.
  • /var/spool/sympa: Persist this volume to not lose state.
  • /var/lib/sympa: Persist this volume to not lose state.

Description

Docker image providing Sympa mailing list service. When the container runs Sympa is available at /lists/ (and /sympa/) URLs.

You should make sure you mount spool and data volumes (/var/spool/sympa and /var/lib/sympa from this image and /var/spool/nullmailer from tozd/nginx-mailer) so that you do not lose e-mails and mailing lists data when you are recreating a container.

The intended use of this image is that it is extended (see cloyne/sympa for an example) with customizations for your installation, and used together with tozd/postfix for receiving and sending e-mails. tozd/postfix container should be configured to use SSH to deliver e-mails to tozd/sympa and use REMOTES environment variable to specify the container (i.e., tozd/postfix) or server used for sending e-mails. See cloyne/postfix for an example how to integrate images together.

The image is by default configured to be used with tozd/postgresql PostgreSQL database, running in a container named pgsql.

The image contains only example values and cannot run without extending (or mounting necessary files into it).

You should provide one volume /etc/sympa/shared and also mount your sympa.conf configuration into /etc/sympa/sympa/sympa.conf. You can use image default as a starting point.

To create a database for Sympa, exec into your PostgreSQL container and run:

$ createuser -U postgres -DRS -PE sympa
$ createdb -U postgres -O sympa sympa

GitHub mirror

There is also a read-only GitHub mirror available, if you need to fork the project there.