Skip to content

foundata/ansible-collection-dovecot

Repository files navigation

Ansible collection: foundata.dovecot

This repository contains the foundata.dovecot Ansible Collection.

It provides resources to manage and use Dovecot, a secure and high-performance open-source IMAP and POP3 server (mail server).



⭐ Found this useful? Support open-source and star this project:

GitHub repository


Table of contents

Included content

Role: foundata.dovecot.run

The primary resource in this collection to configure and maintain Dovecot. See the role's README.md for more information and usage examples.

Playbook: mailserver_ldap_maildir.yml

mailserver_ldap_maildir.yml is a complete Dovecot mailserver setup - IMAP/LMTP/ManageSieve, Active Directory (LDAP) authentication, Maildir storage, per-user quota with warning mails, Sieve filtering and shared and public IMAP namespaces.

The deployment-specific values (mail domain, TLS certificate paths, LDAP/AD coordinates, mail storage, quota) are exposed as dovecot_playbook_* variables you override per environment.

Once the collection is installed (ansible-galaxy collection install foundata.dovecot), you can run the shipped playbook directly by its fully qualified name. Point it at your own inventory, supply the dovecot_playbook_* variables (e.g. via group_vars / host_vars / --extra-vars):

ansible-playbook foundata.dovecot.mailserver_ldap_maildir --inventory ./inventory

Alternatively, copy it into your own playbook repository and edit it to your needs.

Dependencies

See dependencies in galaxy.yml.

Licensing, copyright

Copyright (c) 2026 foundata GmbH

This project is licensed under the GNU General Public License v3.0 or later (SPDX-License-Identifier: GPL-3.0-or-later), see LICENSES/GPL-3.0-or-later.txt for the full text.

The REUSE.toml file provides detailed licensing and copyright information in a human- and machine-readable format. This includes parts that may be subject to different licensing or usage terms, such as third-party components. The repository conforms to the REUSE specification. You can use reuse spdx to create a SPDX software bill of materials (SBOM).

Author information

This project was created and is maintained by foundata GmbH.

Initially based on an Ansible skeleton developed by foundata.

About

Ansible collection to manage Dovecot, a secure and high-performance open-source IMAP and POP3 server

Topics

Resources

Code of conduct

Stars

1 star

Watchers

0 watching

Forks

Contributors