Skip to content
This repository has been archived by the owner on Feb 3, 2024. It is now read-only.

bloodhunterd/Froxlor-Mail-DKIM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Release Docker Build Docker Pulls License

ko-fi

Froxlor Mail DKIM

Docker image of OpenDKIM for Froxlor Server Management Panel.

This image is meant to be used with the Froxlor Mail image.

Deployment

Docker Compose

version: "2.4"

services:
  dkim:
    image: bloodhunterd/froxlor-mail-dkim
    ports:
      - "8891:8891"
    volumes:
      - ./keys/:/etc/dkimkeys/:ro

Configuration

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/

Ports

Port Description
8891 OpenDKIM

Volumes

Volume Path Read only Description
Keys /etc/dkimkeys/ OpenDKIM key store.

Update

Please note the changelog to check for configuration changes before updating.

docker-compose pull
docker-compose up -d

Build With

Authors

License

This project is licensed under the MIT - see LICENSE.md file for details.