Skip to content

ls1admin/postfix-container-tum-mailrelay

Repository files navigation

postfix-container-tum-mailrelay

Postfix container preconfigured to use the TUM RBG Mail relays

Configuration

  • Adapt the .env file to reflect your hostname
  • Adapt config/main.cf to resemble your intended configuration

Testing

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 --build

To run Postfix without the test container, you can use the following command:

docker compose up --build

Check the logs of the Postfix container to verify that the email was sent successfully.

About

Postfix container preconfigured to use the TUM RBG Mail relays

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors