HTTPS SSH
Video: https://www.youtube.com/watch?v=EOJ9Rzxn068
Slack: https://crankzone.slack.com/signup
Get a Patron on Patreon https://www.patreon.com/deronkozockt
You can Donate on Paypal muellermh.media@gmail.com

sudo docker run -i -d \
-p 25:25 \
-p 587:587 \
-p 110:110 \
-p 143:143 \
-p 995:995 \
-p 993:993 \
-v /mnt/vmail:/var/vmail \
-v /mnt/log:/var/log \
-e DB_HOST=db.HOST.TLD_ODER_IP \
-e DB_USER=NAME \
-e DB_PASS=PASSWORD \
-e DB_NAME=vmail \
-e HOST_NAME=MEINETOPLEVELDOMAIN \
-e HOST_MAIL=mm@crankdev.de muellermh\mailserver

# wenn man möchte
-v /mnt/ssl:/etc/ssl \
sudo docker run -i -t muellermh\mailserver /bin/bash 
# use command to create password: doveadm pw -s SHA512-CRYPT

sudo docker run -it --rm -p 443:443 -p 80:80 --name letsencrypt \
-v "/mnt/letsencrypt:/etc/letsencrypt" \
-v "/mnt/ssl:/var/lib/letsencrypt" \
quay.io/letsencrypt/letsencrypt:latest certonly -–rsa-key-size 4096 -d