Public | Automated Build

Last pushed: 2 months ago
Short Description
Simple Postfix Mail Relay Configuration on Docker
Full Description

postfix-relay-on-Docker


Simple mail relay configuration

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 ;)

variables:

 SMTP_LOGIN= user@email-adress.com 
 SMTP_PASSWORD= user_password
 SERVER= smtp-server.of.user

to launch :

 docker run -dit -e SMTP_LOGIN=aladin@email-adress.it -e SMTP_PASSWORD=aladin-password -e SERVER=smtp.aladin-server.it postfix-docker

to test:

 sendmail aladin29@aladin.bd << EOF
 SUBJECT: MAIL RELAY TEST

 MIA KHALIFA WANTS U LOL ;)
 EOF
Docker Pull Command
Owner
aladin29
Source Repository

Comments (0)