1.0.2 • Published 11 days ago

@mindbaz/zonemta-multi-dkim v1.0.2

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
11 days ago

zonemta-multi-dkim

Load & use a dkim key file based on a header value, example : with header X-random-header: random-domain-2, zmta will use dkim key : /path/to/zone-mta/keys/random-domain-2.pem

Setup

Add this as a dependency for your ZoneMTA app

npm install @mindbaz/zonemta-multi-dkim --save

Configure

The module uses wild-config, so there are two toml configuration files to manage

Plugin conf

Add a configuration entry in the "plugins" section of your ZoneMTA app

Example here.

Wild-config

ZoneMTA uses the following file for wild-config : /path/to/zone-mta/config/zonemta.toml

# Keys list, used to valid keys file name without extention .pem
[multi_dkim]
keys = [
  "random-domain-1",
  "random-domain-2",
  "random-domain-3"
]

License

The GNU General Public License 3 (details)

1.0.2

11 days ago

1.0.1

11 days ago

1.0.0

6 months ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago