Sign inSign up

clonm/sympa

By clonm

Updated about 6 years ago

fork of tozd/sympa, updated to 6.2

Image
0

480

clonm/sympa repository overview

Image providing Sympa mailing list service.

You should make sure you mount spool and data volumes (/var/spool/sympa, /var/spool/nullmailer, and /var/lib/sympa) so that you do not lose e-mails and mailing lists data when you are recreating a container. If volumes are empty, image will initialize them at the first startup.

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 (see cloyne/postfix for an example how to integrate them together). It is configured to be used with tozd/postgresql PostgreSQL database, by default, running in a contained named pgsql. You can link containers together or use tozd/hosts. Use REMOTES environment variable to specify the container or server used for sending e-mails.

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

You should provide two volumes, /etc/sympa/includes and /etc/sympa/shared.

/etc/sympa/includes should contain two files:

  • database – a password for sympa user with permissions over sympa PostgreSQL database at (by default) pgsql container
  • cookie – a randomly generated string used for cookie string secret

/etc/sympa/shared is a volume shared with (for example) cloyne/postfix container to provide necessary SSH keys for communication between containers.

When extending the image you should override files in the /etc/sympa/conf.d directory with ones containing your values. Moreover you probably want to define your own Sympa robot.

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

You might have to initialize afterwards the database. Run from inside your Sympa container:

$ psql -h pgsql -U sympa -W -f /usr/share/sympa/bin/create_db.Pg

Tag summary

Content type

Image

Digest

Size

131 MB

Last updated

about 6 years ago

docker pull clonm/sympa