Public | Automated Build

Last pushed: 7 months ago
Short Description
Simple Mail Relay Configuration ;)
Full Description

postfix-mail-relay-on docker


Simple mail relay configuration

contains :

 - stunnel.conf to implement "tcp wrapper"
 - run.sh to start postfix service and more
 - rsyslog.conf to log [ obviously ;) ]

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/relay

to enter in the container:

 docker exec -it container_name /bin/bash 

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)