---
title: Charmhub | Deploy OpenDKIM charm. using Charmhub - The Open Operator Collection
description: Deploy the latest version of OpenDKIM charm. on any cloud.
url: https://charmhub.io/opendkim/configurations
---

# OpenDKIM charm.

[Canonical IS DevOps](https://charmhub.io/publisher/canonical-is-devops "View all packages from Canonical IS DevOps")

* [Canonical IS DevOps](https://charmhub.io/publisher/canonical-is-devops "View all packages from Canonical IS DevOps")

Platform:

24.04

2/edge 7ae33955

```
juju deploy opendkim --channel 2/edge
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [keytable](https://charmhub.io/opendkim/configurations#keytable)
* [mode](https://charmhub.io/opendkim/configurations#mode)
* [private-keys](https://charmhub.io/opendkim/configurations#private-keys)
* [signingtable](https://charmhub.io/opendkim/configurations#signingtable)
* [trusted-sources](https://charmhub.io/opendkim/configurations#trusted-sources)

[Learn about configurations >](https://juju.is/docs/juju/configuration#heading--application-configuration)

* keytable | string

  Key table mapping. This configuration is in YAML format. It is a list of
  lines, being each line another list with two elements, the key and the value.
  The following is an example of a keytable:

  ```
  - - "selector._domainkey.example.com
    - "example.com:selector:/etc/dkimkeys/key1.private"
  - - "selector._domainkey.other.example.com"
    - "other.example.com:selector:/etc/dkimkeys/key2.private"
  ```
* mode | string

  Default: sv

  Selects operating modes. The string is a concatenation of
  characters that indicate which mode(s) of operation are
  desired. Valid modes are s (signer) and v (verifier). The
  default is sv

  See http://www.opendkim.org/opendkim.conf.5.html
* private-keys | secret

  Secret that contains the private keys. The keys in the secret define the filename
  without the '.private' extension, and the value the private key.
* signingtable | string

  Signing table mapping. This configuration is in YAML format. It is a list of
  lines, being each line another list with two elements, the key and the value.
  The file format is refile, so it can include regular expressions.
  The folloging is an example of the signingtable:

  ```
  - - "*@example.com"
    - "selector._domainkey.example.com"
  - - "*@other.example.com"
    - "selector._domainkey.other.example.com"
  ```
* trusted-sources | string

  Comma-separated list of trusted networks or hosts whose mail should
  bypass DKIM verification. These are written to the InternalHosts file.
  When empty (default), all hosts are trusted (InternalHosts 0.0.0.0/0).
  Example: "10.0.0.0/8, 192.168.1.0/24, 172.16.0.0/12"
