Added DKIM server into the mix

This commit is contained in:
Val
2014-11-11 01:31:46 +00:00
parent 0cf0824ff5
commit 2145aaffe0
7 changed files with 157 additions and 12 deletions

View File

@@ -45,23 +45,20 @@ container and run `doveadm pw -s <scheme-name>` inside.
4) Change the hostname in file `/opt/dockermail/settings/myhostname` to the correct fully qualified domain of your server.
5) Build container
5) Add DKIM settings files: `/opt/dockermail/settings/opendkim.conf` and `/opt/dockermail/settings/mail.private`
See https://help.ubuntu.com/community/Postfix/DKIM on the info about these settings.
6) Build container
make
6) Run container and map ports 25 and 143 from the host to the container.
7) Run container and map ports 25 and 143 from the host to the container.
To store your mail outside the container, map `/opt/dockermail/vmail/` to
a directory on your host. (This is recommended, otherwise
you have to remember to backup your mail when you want to restart the container)
`docker run -d -p 25:25 -p 587:587 -p 143:143 -v /opt/dockermail/settings:/mail_settings -v /opt/dockermail/vmail:/vmail dovecot_made_special/2.1.7`
7) Enjoy.
Known issues / Todo / Wishlist
==============================
- It would be nice to have a way of catching mail to all subdomains.
8) Enjoy.
Patches welcome!