This will generate the dkim files
cd ./dkim
./setup.sh
This will generate the tls (startssl files)
cd ./certs
./setup.sh
docker-compose up -d
Make sure you observe the /var/log/mail.log before sending test mails!
docker-compose exec postfix tail -f /var/log/mail.log
Send mails:
sendemail -f "[email protected]" -t "[email protected]" -s 127.0.0.1:25 -o tls=no -xu username -xp password -m "Nachricht" -v