The setup procedure will generate a new public and private keypair for postfix communication and a new dkim keypair (hacking-lab.com) to sign mails.
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
./smtptest.py -v [email protected] [email protected] localhost
Port 25
./smtptest.py -v -u ivan.buetler -p EBp5CJNcykf7cgmb [email protected] [email protected] localhost
Port 587 (Submission)
./smtptest.py -v -n 587 -t -u ivan.buetler -p EBp5CJNcykf7cgmb [email protected] [email protected] localhost