huan / docker-simple-mail-forwarder

Simplest and Smallest Email Forward Service based on Docker.

Home Page:https://hub.docker.com/r/zixia/simple-mail-forwarder/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DKIM support for multiple domains

dgraziotin opened this issue · comments

As discussed in #83, SMF needs a way to handle DKIM for multiple domains.

In particular, it should gracefully handle the domain defined in $SMF_DOMAIN for backward compatibility (going back to single DKIM), create DKIM public/private keypairs to be used for all source domains in $SMF_CONFIG, adapt /var/db/dkim/ to a per-domain path style, and change /etc/opendkim/opendkim.conf to use KeyTable, SigningTable, ExternalIgnoreList, and InternalHosts.

Finally, SMF should check validity of all DKIM keys on startup.

This is underway.