bloodhunterd / Froxlor-Mail-DKIM

This repository is a mirror of the GitLab repository.

Home Page:https://gitlab.com/bloodhunterd-labs/froxlor/mailserver-signature

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

This repository is a mirror of the GitLab repository.

https://gitlab.com/bloodhunterd-labs/froxlor/mailserver-signature

License:MIT License


Languages

Language:Dockerfile 100.0%