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).
[For more informations ](https://www.dovecot.org/ )
2023-08-02 09:26:54 +02:00
## Basic variables
#### Client SMTP (*general.smtp*)
| Description | Type | Supplier |
|----------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|------------|
| **Nom de domaine du serveur SMTP** (*[smtp_relay_address](dictionaries/20_smtp_client.xml)*) | [domainname ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | SMTP |
##### Serveur (*general.ldap.server*)
| Description | Type | Supplier |
|----------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|------------|
| **Nom DNS du serveur LDAP** (*[ldap_server_address](dictionaries/21_ldap-client.xml)*) | [domainname ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | LDAP |
##### Mail domain (*general.mail.domain*)
This a family is a leadership.
| Description | Type | Example |
|--------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|------------------------|
| **Domaine exterieur d'accès au serveur IMAP** (*[imap_domainname](dictionaries/31_dovecot.xml)*) | [domainname ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | imap.example.net |
| **Domaine exterieur d'accès au serveur submission** (*[submission_domainname](dictionaries/31_dovecot.xml)*) | [domainname ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | submission.example.net |
#### IMAP mail server (*general.dovecot*)
| Description | Type | Provider |
|----------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|------------|
| **IMAP client address** (*[imap_internal_addresses](dictionaries/31_dovecot.xml)*) [+] | [domainname ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | IMAP |
- [+]: variable is multiple
- **bold**: variable is mandatory
## Variables
### Général (*general*)
| Description | Type | Values | Supplier |
|---------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|--------------|------------|
| **Nom de domaine du serveur LMTP** (*[lmtp_relay_address](dictionaries/30_lmtp.xml)*) | [domainname ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | < calculated > | LMTP |
#### systemd-journald (*general.journald*)
| Description | Type | Supplier | Values |
|--------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|---------------|--------------|
| *[journal_client_server_domainname](dictionaries/20_journald.xml)* | [domainname ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | Journald | |
| *[journal_host_name](dictionaries/20_journald.xml)* | [domainname ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | Journald:host | < calculated > |
##### Client (*general.ldap.client*)
| Description | Type | Values | Supplier |
|----------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------|--------------|--------------|
| **Nom de la famille LDAP** (*[ldapclient_family](dictionaries/31_dovecot.xml)*) | [unix_user ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | all | LDAP:family |
| **Base DN de l'annuaire** (*[ldapclient_base_dn](dictionaries/21_ldap-client.xml)*) | [string ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | < calculated > | LDAP:base_dn |
| **Base DN de l'annuaire des utilisateurs** (*[ldapclient_search_dn](dictionaries/21_ldap-client.xml)*) | [string ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | < calculated > | |
| **Base DN de l'annuaire des groupes** (*[ldapclient_group_dn](dictionaries/21_ldap-client.xml)*) | [string ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | < calculated > | |
| **Base DN de l'annuaire des utilisateurs n'appartenant à une famille** (*[ldapclient_user_dn](dictionaries/21_ldap-client.xml)*) | [string ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | < calculated > | |
#### NGINX (*general.nginx*)
Paramétrage global de NGINX
| Description | Help | Type |
|--------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|
| Nom de domaine du serveur mandataire inverse par défaut (*[nginx_default](dictionaries/21_nginx.xml)*) | Si un client accède au serveur avec un nom de domaine non déclaré, le flux est redirigé vers ce domaine | [domainname ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) |
##### Point d'entrée des clients (*general.revprox.revprox_client*)
This a family is a leadership.
| Description | Type | Values | Supplier |
|------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------|--------------|----------------------------|
| **Nom de l'arborescence racine du site** (*[revprox_client_location](dictionaries/21_revprox_client.xml)*) | [filename ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | < calculated > | ReverseProxy:location |
| Taille maximum du corps (*[revprox_client_max_body_size](dictionaries/21_revprox_client.xml)*) | [string ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | | ReverseProxy:max_body_size |
#### Mail configuration (*general.mail*)
| Description | Type | Values | Choices |
|------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------|-----------|----------------------------|
| **Autorité de certification signant les certificats des domaines extérieurs** (*[mail_crt_provider](dictionaries/31_dovecot.xml)*) | [choice ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | autosigne | autosigne< br /> letsencrypt |
- [+]: variable is multiple
- **bold**: variable is mandatory
## Variables for expert
#### NGINX (*general.nginx*)
Paramétrage global de NGINX
| Description | Type | Values | Choices |
|-------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------|----------|---------------------|
| **Longueur maximum pour un nom de domaine** (*[nginx_hash_bucket_size](dictionaries/21_nginx.xml)*) | [choice ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | 128 | 128< br /> 64< br /> 32 |
| **Taille maximale des données reçues par la méthode POST (en Mo)** (*[nginx_post_max_size](dictionaries/21_nginx.xml)*) | [number ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | 32 | |
##### Point d'entrée des clients (*general.revprox.revprox_client*)
This a family is a leadership.
| Description | Type | Values | Example | Supplier |
|--------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|--------------|---------------------|-----------------------|
| **Nom de domaine exterieur du serveur** (*[revprox_client_external_domainnames](dictionaries/31_dovecot.xml)*) [+] | [domainname ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | < calculated > | service.example.net | ReverseProxy:external |
##### Mail domain (*general.mail.domain*)
This a family is a leadership.
| Description | Type | Example | Supplier |
|---------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|-------------|---------------|
| **Domaine de courriel géré localement** (*[mail_domains](dictionaries/31_dovecot.xml)*) [+] | [domainname ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | example.net | LMTP:criteria |
- [+]: variable is multiple
- **bold**: variable is mandatory
2023-08-01 15:13:17 +02:00
## Examples
Zone names are provided as examples. Think about adapting with the value of provider_zone in configuration file.
With minimum providers:
```
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
```
With all providers:
```
dovecot:
applicationservice: dovecot
provider_zone: imap
zones_name:
- journald
- 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 )