Postfix container preconfigured to use the TUM RBG Mail relays
- Adapt the
.envfile to reflect your hostname - Adapt
config/main.cfto resemble your intended configuration
To test the setup, you can use the provided test.py script in the test-container directory. This script sends a test email through the Postfix container. Please use the env variables SENDER and RECEIVER to configure the sender and receiver email addresses.
Make sure the Postfix container is running, then execute the test script:
docker compose --profile test up --buildTo run Postfix without the test container, you can use the following command:
docker compose up --buildCheck the logs of the Postfix container to verify that the email was sent successfully.