Docker image of OpenDKIM for Froxlor Server Management Panel.
This image is meant to be used with the Froxlor Mail image.
version: "2.4"
services:
dkim:
image: bloodhunterd/froxlor-mail-dkim
ports:
- "8891:8891"
volumes:
- ./keys/:/etc/dkimkeys/:ro
The keys
folder must contain the following three files.
- keytable
- signingtable
- trustedhosts
The keytable
file is a lookup table to match DNS records with the correct selector and key file.
mail._domainkey.example.com example.com:mail:/etc/dkimkeys/example.com/mail.private
The signingtable
file contains which email domain matches which DNS record.
*@domain.tld mail._domainkey.example.com
The trustedhosts
file contains a list of all host IP addresses which do not need a DKIM signature.
To generate a key for your domain with the selector mail
run this command.
opendkim-genkey -s mail -b 2048 -d example.com -D /etc/dkimkeys/
Port | Description |
---|---|
8891 | OpenDKIM |
Volume | Path | Read only | Description |
---|---|---|---|
Keys | /etc/dkimkeys/ | ✔ | OpenDKIM key store. |
Please note the changelog to check for configuration changes before updating.
docker-compose pull
docker-compose up -d
This project is licensed under the MIT - see LICENSE.md file for details.