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

# Dovecot

[Platform Engineering](https://charmhub.io/publisher/platform-engineering-team "View all packages from Platform Engineering")

* [Platform Engineering](https://charmhub.io/publisher/platform-engineering-team "View all packages from Platform Engineering")

Platform:

24.04

edge 1

```
juju deploy dovecot --channel edge
```

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

* [luks-auto-provisioning](https://charmhub.io/dovecot/configurations#luks-auto-provisioning)
* [luks-key](https://charmhub.io/dovecot/configurations#luks-key)
* [mailname](https://charmhub.io/dovecot/configurations#mailname)
* [postmaster-address](https://charmhub.io/dovecot/configurations#postmaster-address)
* [primary-unit](https://charmhub.io/dovecot/configurations#primary-unit)
* [sync-schedule](https://charmhub.io/dovecot/configurations#sync-schedule)

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

* luks-auto-provisioning | boolean

  Enable automatic LUKS encryption management for attached block storage.
  When enabled, the charm will format the storage with LUKS using the key
  supplied via luks-key, create an ext4 filesystem, and manage mounting
  and fstab entries. Requires luks-key to be set. This process may
  overwrite existing data on the attached block device if it is not
  already LUKS-encrypted and using an ext4 filesystem.
* luks-key | secret

  Juju secret ID containing the LUKS encryption key for block storage.
  The secret must have a field named "key" whose value is used as the
  LUKS passphrase. Required when luks-auto-provisioning is true.
  Example: juju add-secret my-luks-key key=<passphrase>
* mailname | string

  The fully qualified domain name (FQDN) or hostname for this mail server.
  Used to identify outgoing mail and should match your server's hostname.
* postmaster-address | string

  Email address of the postmaster or mail system administrator.
  Used as the sender for system-generated messages and bounce notifications.
* primary-unit | string

  The primary unit in a replicated charm deployment (e.g., 'dovecot/0').
  Only the primary unit receives incoming mail; replicas are read-only.
* sync-schedule | string

  Default: daily

  Systemd OnCalendar expression for syncing mail from primary to secondary units.
  Format: systemd calendar syntax (e.g., "\*:0/30" for every 30 minutes,
  "hourly", "daily"). See systemd.time(7) for full syntax reference.
