#Postman+DKIM enabled mailhub
##Starting
docker run -ti --rm --name mailhub \
-v /myconfig/mailhub/etc/opendkim/keys:/etc/opendkim/keys \
quay.io/bigm/mailhub
##Test
Get into mailhub shell:
docker exec -ti mailhub bash
Send test email:
cat <<EOF |
Subject: postfix test mail
line 1
line 2
EOF
sendmail [email protected]
##Dynamic reconfiguration
docker exec mailhub /xt/postfix-reconfig.sh
##DKIM
# list of active domains
docker exec -ti <container> sh -c "cat /etc/opendkim/keys/*/mail.txt"
# to validate obtain email from http://dkimvalidator.com and replace upper case text:
echo "dkim test mail body" | mail -r [email protected] -s "dkim test mail " [email protected]
##TODO
Content type
Image
Digest
sha256:01128af70…
Size
130.2 MB
Last updated
about 8 years ago
docker pull bigm/mailhub