Email server
To be able to send and receive emails with the @nantral-platform.fr domain,
we need an email server. This server runs on the same server as the Nantral
Platform website.
Accessing the webmail
There is no webmail configured currently. Use any mail client you wish to access emails.
Architecture details
We use Stalwart v0.15 with Docker to handle our emails. The related
docker container is mailserver.
One particular thing about this service is that it stores its logs in the
deployment/appdata/stalwart/data/logs/ instead of using docker logging system, so using
docker compose logs mailserver will not show anything.
The emails and accounts are stored on our Postgresql database.
There is no authentification between Django and the SMTP server as they both operate on the same host. This means that any email adress ending in @nantral-platform.fr is valid (foo@nantral-platform.fr, bar@nantral-platform.fr, etc). You do not need to create it in order to use it.
Troubleshooting
Errors may occur if docker network configuration change. Restarting the server is not enough,
you may need to remove any existing networks (e.g. using docker compose down) and
recreate them properly with docker compose up