Public Repository

Last pushed: 2 years ago
Short Description
Postfix and Dovecot. Simple email server with IMAP4 access. TLS too.
Full Description

To run this container:

docker run -e maildomain=mydomain.com \
-v /home/harald/postfix-dovecot/config:/config \
-v /home/harald/postfix-dovecot/home:/home \
-v /home/harald/postfix-dovecot/var_mail:/var/mail \
-p 25:25 -p 465:465 -p 143:143 -p 993:993 -p 587:587 \
--name postfix-dovecot \
-d \
hkubota/postfix-dovecot:latest

It'll receive email for the listed domain (mydomain.com in the above example).

/config contains few configuration files:
config/aliases: aliases file
config/users.sh: file to create accounts and sets passwords
config/ssl.crt and config/ssl.key: SSL certificate and private key

home/ has home directories for all users defined in users.sh. It's where mail is stored.

var_mail/ is /var/mail in the container: mailer directories. mail is stored here too. Permissions should be similar to /tmp

Docker Pull Command
Owner
hkubota

Comments (0)