Sign inSign up

mateusz34/send-only

By mateusz34

•Updated about 7 years ago

Send-only mail server based on postfix with dovecot(authorization), opendkim and with TLS support

Image
1

332

mateusz34/send-only repository overview

⁠send-only

Dockerized Send-only mail server based on postfix with dovecot(authorization), opendkim and with TLS support

Docker Hub:https://hub.docker.com/r/mateusz34/send-only⁠

⁠Usage

docker run -d
-p "25:25" -p "465:465" -p "587:587"
-e hostname=mail.example.com
-e domains=example.com,
-e users=[email protected]⁠:password,
-e TLS=enable
-e certFile=/certs/fullchain.pem
-e keyFile=/certs/privkey.pem
-e DKIM=enable
-e dkimSelectors=example.com:mail,
-e dkimDir=/dkim
-v /root/mail/dkim/:/dkim
-v /root/mail/cert/:/certs
mateusz34/send-only

⁠Ports

All ports can be used to send mails. Reciving mails is blocked.
-25 no encryption required, STARTTLS available
-465 encryption required via TLS connection (most secure)
-587 encryption required via STARTTLS

⁠Enviromental Variables

Required:
-hostname=mail.example.com - hostname of your smtp server, used in HELO/EHLO while conenctiing to other smtp server
-domains=example.com,example2.com, - all domains Remember to add ',' at the end
-users=[email protected]⁠:password,[email protected]⁠:password, - all users and passwords Remember to add ',' at the end

Optional:
-TLS=enable - enables TLS support
-certFile=/certs/fullchain.pem
-keyFile=/certs/privkey.pem

-DKIM=enable - enables DKIM support
-dkimSelectors=example.com:mail, - set selector for specific domain Remember to add ',' at the end
-dkimDir=/dkim - path where dkim files will be stored, dns record after starting starting server will be stored in /dkim/example.com/mail.txt

Tag summary

Content type

Image

Digest

Size

102 MB

Last updated

about 7 years ago

docker pull mateusz34/send-only