2022-12-24 13:01:51 +01:00
---
gitea: none
include_toc: true
---
# dovecot
2023-08-02 09:26:54 +02:00
## Synopsis
2022-12-24 13:01:51 +01:00
Postfix and Dovecot as mail servers (Submission and IMAP).
2023-08-02 09:26:54 +02:00
[More informations about this software. ](https://www.dovecot.org/ )
2022-12-24 13:01:51 +01:00
2023-08-02 09:26:54 +02:00
## Basic variables
2023-08-01 15:13:17 +02:00
2023-08-02 09:26:54 +02:00
### Général
2023-08-01 15:13:17 +02:00
2023-08-02 09:26:54 +02:00
#### Mail configuration
##### Mail domain
This a family is a leadership.
| Parameter | Comments |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------|
| ** [general.mail.domain.mail_domains ](dictionaries/31_dovecot.xml )**< br /> mandatory, multiple< br /> **Type:** [`domainname` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | Domaine de courriel géré localement.< br /> **Example:** example.net |
| ** [general.mail.domain.imap_domainname ](dictionaries/31_dovecot.xml )**< br /> mandatory< br /> **Type:** [`domainname` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | Domaine exterieur d'accès au serveur IMAP.< br /> **Example:** imap.example.net |
| ** [general.mail.domain.submission_domainname ](dictionaries/31_dovecot.xml )**< br /> mandatory< br /> **Type:** [`domainname` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | Domaine exterieur d'accès au serveur submission.< br /> **Example:** submission.example.net |
## Variables
### Général
#### Mail configuration
##### Mail domain
This a family is a leadership.
| Parameter | Comments |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|
| ** [general.mail.mail_crt_provider ](dictionaries/31_dovecot.xml )**< br /> mandatory< br /> **Type:** [`choice` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | Autorité de certification signant les certificats des domaines extérieurs.< br /> **Choices:**< br /> - `self-signed` ← (default)< br /> - `letsencrypt` |
## Variables for expert
### Général
#### Annuaire OpenLDAP
##### Client
| Parameter | Comments |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|
| ** [general.ldap.client.ldapclient_family ](dictionaries/31_dovecot.xml )**< br /> mandatory< br /> **Type:** [`unix_user` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | Nom de la famille LDAP.< br /> **Default:** all |
| ** [general.ldap.client.ldapclient_base_dn ](dictionaries/21_ldap-client.xml )**< br /> mandatory< br /> **Type:** [`string` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | Base DN de l'annuaire.< br /> **Default:** *calculated* |
| ** [general.ldap.client.ldapclient_search_dn ](dictionaries/21_ldap-client.xml )**< br /> mandatory< br /> **Type:** [`string` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | Base DN de l'annuaire des utilisateurs.< br /> **Default:** *calculated* |
| ** [general.ldap.client.ldapclient_group_dn ](dictionaries/21_ldap-client.xml )**< br /> mandatory< br /> **Type:** [`string` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | Base DN de l'annuaire des groupes.< br /> **Default:** *calculated* |
| ** [general.ldap.client.ldapclient_user_dn ](dictionaries/21_ldap-client.xml )**< br /> mandatory< br /> **Type:** [`string` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | Base DN de l'annuaire des utilisateurs n'appartenant à une famille.< br /> **Default:** *calculated* |
2023-08-01 15:13:17 +02:00
2023-08-02 09:26:54 +02:00
## Requirements services
- **LocalDNS**
- Journald
- **SMTP**
- **LDAP**
- **ReverseProxy**
- **LMTP**
- **OAuth2**
**bold**: provider is mandatory
## Example
Zone names are provided as examples. Think about adapting with the value of provider_zone in configuration file.
2023-08-01 15:13:17 +02:00
```
dovecot:
applicationservice: dovecot
provider_zone: imap
zones_name:
- ldap
- localdns
- reverseproxy
- smtp
- lmtp
- oauth2
2023-08-02 09:26:54 +02:00
values:
general.mail.domain.mail_domains:
- example.net
general.mail.domain.imap_domainname:
'0': imap.example.net
general.mail.domain.submission_domainname:
'0': submission.example.net
2023-08-01 15:13:17 +02:00
```
2022-12-24 13:01:51 +01:00
## Dependances
- [base-fedora-36 ](../base-fedora-36/README.md )
- [base-fedora ](../base-fedora/README.md )
- [systemd ](../systemd/README.md )
- [base-machine ](../base-machine/README.md )
- [base ](../base/README.md )
- [dns-local ](../dns-local/README.md )
2023-02-14 14:24:16 +01:00
- [pki-tls ](../pki-tls/README.md )
2023-06-29 18:56:46 +02:00
- [journald ](../journald/README.md )
2023-07-31 18:41:59 +02:00
- [resolved ](../resolved/README.md )
2022-12-24 13:01:51 +01:00
- [relay-lmtp-client ](../relay-lmtp-client/README.md )
- [relay-mail-client ](../relay-mail-client/README.md )
2022-12-25 20:23:58 +01:00
- [ldap-client ](../ldap-client/README.md )
2022-12-24 13:01:51 +01:00
- [oauth2-client ](../oauth2-client/README.md )
- [nginx-https ](../nginx-https/README.md )
- [nginx-common ](../nginx-common/README.md )
- [reverse-proxy-client ](../reverse-proxy-client/README.md )
2023-01-18 09:19:37 +01:00
## Supplier
2022-12-24 13:01:51 +01:00
2023-01-18 09:19:37 +01:00
[imap-client ](../imap-client/README.md )
2023-02-14 14:43:41 +01:00
[All applications services for this dataset. ](../README.md )