contains :
- Dockerfile to build image which include postfix service to relay mail, rsyslog to log inside container, stunnel service to implement "tls wrapper"
- run.sh to start postfix, rsyslog and stunnel services
- README.md file with some instructions on how to use ;)
SMTP_LOGIN= user@email-adress.com
SMTP_PASSWORD= user_password
SERVER= smtp-server.of.user
docker run -dit -e SMTP_LOGIN=aladin@email-adress.it -e SMTP_PASSWORD=aladin-password -e SERVER=smtp.aladin-server.it postfix-docker
sendmail aladin29@aladin.bd << EOF
SUBJECT: MAIL RELAY TEST
Salvini WANTS U LOL ;)
EOF