This was inspired by good work from catatnight/postfix
But heavily changed so can't merge back into base repository
Run postfix with smtp authentication (sasldb) in a docker container. TLS and OpenDKIM support are optional.
Check docker-compose.yml
that I used to test the development
Check docker-compose.prod.yml
that I used to test the production deployment
- Login credential should be set to (
[email protected]
,password
) in Smtp Client - You can assign the port of MTA on the host machine to one other than 25 (postfix how-to)
- Read the reference below to find out how to generate domain keys and add public key to the domain's DNS records