💥: dovecot 2.4 for debian 13
All checks were successful
ansible-lint / lint-everything (push) Successful in 2m39s
All checks were successful
ansible-lint / lint-everything (push) Successful in 2m39s
This commit is contained in:
@@ -1,62 +1,71 @@
|
|||||||
# 2.2.13: /etc/dovecot/dovecot.conf
|
dovecot_config_version = "2.4.1"
|
||||||
# ajout de lmtp (service pour déterminer la socket, protocol pour récupérer les mêmes fonctions que le LDA)
|
dovecot_storage_version = "2.4.1"
|
||||||
# ajout de auth_username_format = %Ln pour vérifier que l'utilisateur est bien dans la base locale en passant par son nom et non par autre chose…
|
|
||||||
# 2018-08-20 mortal réintégration du fichier séparé 15-mailbox.conf + nettoyage/réorganisation + réécriture sieve globale
|
|
||||||
# OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.0
|
|
||||||
|
|
||||||
listen = *,[::]
|
listen = *,[::]
|
||||||
|
|
||||||
protocols = imap lmtp
|
protocols = imap lmtp
|
||||||
|
|
||||||
ssl_cert = </etc/x509/imap.libertus.eu/fullchain.cer
|
ssl = required
|
||||||
ssl_key = </etc/x509/imap.libertus.eu/imap.libertus.eu.key
|
ssl_server_cert_file = /etc/x509/imap.libertus.eu/fullchain.cer
|
||||||
|
ssl_server_key_file = /etc/x509/imap.libertus.eu/imap.libertus.eu.key
|
||||||
|
|
||||||
#auth_debug=yes
|
#auth_debug=yes
|
||||||
#auth_debug_passwords=yes
|
#auth_debug_passwords=yes
|
||||||
|
|
||||||
auth_username_format = %Ln
|
auth_username_format = %{ user | username | lower }
|
||||||
|
|
||||||
passdb {
|
mail_driver = maildir
|
||||||
|
mail_path = %{home}/Maildir
|
||||||
|
|
||||||
|
passdb pam {
|
||||||
driver = pam
|
driver = pam
|
||||||
}
|
}
|
||||||
|
|
||||||
userdb {
|
userdb passwd {
|
||||||
driver = passwd
|
driver = passwd
|
||||||
}
|
}
|
||||||
|
|
||||||
plugin {
|
sieve_script personal {
|
||||||
sieve = ~/sieve/default.sieve
|
path = ~/sieve
|
||||||
sieve_dir = ~/sieve
|
active_path = ~/sieve/default.sieve
|
||||||
sieve_before = /etc/dovecot/before.sieve
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sieve_script before {
|
||||||
|
type = before
|
||||||
|
path = /etc/dovecot/before.sieve
|
||||||
|
}
|
||||||
|
|
||||||
service auth {
|
service auth {
|
||||||
inet_listener {
|
inet_listener auth {
|
||||||
address = * [::]
|
|
||||||
port = 26
|
port = 26
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol sieve {
|
|
||||||
mail_location = maildir:~/Maildir
|
|
||||||
}
|
|
||||||
|
|
||||||
service lmtp {
|
service lmtp {
|
||||||
inet_listener ltmp {
|
inet_listener ltmp {
|
||||||
address = 127.0.0.1 ::1
|
|
||||||
port = 24
|
port = 24
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protocol sieve {
|
||||||
|
}
|
||||||
|
|
||||||
|
protocol imap {
|
||||||
|
mail_plugins {
|
||||||
|
imap_sieve = yes
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
protocol lmtp {
|
protocol lmtp {
|
||||||
mail_location = maildir:~/Maildir
|
mail_plugins {
|
||||||
mail_plugins = sieve
|
lmtp_sieve = yes
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol lda {
|
protocol lda {
|
||||||
mail_location = maildir:~/Maildir
|
mail_plugins {
|
||||||
mail_plugins = sieve
|
lda_sieve = yes
|
||||||
|
}
|
||||||
postmaster_address = postmaster@example.com
|
postmaster_address = postmaster@example.com
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -83,4 +92,3 @@ namespace inbox {
|
|||||||
special_use = \Sent
|
special_use = \Sent
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user