robertdebock.dovecot
Ansible Role Dovecot
This guide helps you install and set up Dovecot on your system.
| GitHub | GitLab | Downloads | Version |
|---|---|---|---|
Example Playbook
The following playbook is an example. It is taken from molecule/default/converge.yml and is tested every time there is a push, pull request, or release.
---
- name: Converge
hosts: all
become: true
gather_facts: true
roles:
- role: robertdebock.dovecot
Before running the playbook, you need to prepare the machine. In Continuous Integration (CI), this is done using molecule/default/prepare.yml:
---
- name: Prepare
hosts: all
become: true
gather_facts: false
roles:
- role: robertdebock.bootstrap
You can find a full explanation and examples on how to use these roles.
Role Variables
Default values for the variables are defined in defaults/main.yml:
---
# defaults file for dovecot
# Set the location for the mailbox.
dovecot_mailbox_location: "mbox:~/mail:INBOX=/var/spool/mail/%u"
# Grant access to these supplementary groups for mail processes.
dovecot_mail_access_groups: mail
Requirements
- The pip packages listed in requirements.txt.
State of Used Roles
The following roles are used to prepare the system. You can prepare your system using a different method.
| Requirement | GitHub | GitLab |
|---|---|---|
| robertdebock.bootstrap |
Context
This role is part of several compatible roles. For more information, check out the documentation of these roles.
Here’s an overview of related roles:

Compatibility
This role works with the following container images:
| Container | Tags |
|---|---|
| Alpine | all |
| Amazon | Candidate |
| EL | 9 |
| Debian | all |
| Fedora | all |
| Ubuntu | all |
The minimum version of Ansible required is 2.12. Tests have been performed on:
- The previous version.
- The current version.
- The development version.
If you encounter any problems, please report them on GitHub.
License
This project is licensed under Apache-2.0.
Author Information
This role is created by robertdebock.
Feel free to consider sponsoring me.
Install and configure dovecot on your system.
ansible-galaxy install robertdebock.dovecot