Image providing Sympa mailing list service.
You should make sure you mount spool and data volumes (
/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 should contain two files:
database– a password for
sympauser with permissions over
sympaPostgreSQL database at (by default)
cookie– a randomly generated string used for cookie string secret
/etc/sympa/shared is a volume shared with (for example)
container to provide necessary SSH keys for communication between containers.
When extending the image you should override files in the
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
Built with git-ssb-web