Skip to content

Aladdin-97/postfix-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

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

 Salvini WANTS U LOL ;)
 EOF

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published